mirror of https://github.com/dap-ps/discover.git
Remove check for staked tokens from approve controller
This commit is contained in:
parent
fc7e1d50d6
commit
16d19d56c7
|
@ -134,14 +134,7 @@ class DAppsMetadataController {
|
|||
if (dappMetadata) {
|
||||
dappMetadata.status = DAPP_METADATA_STATUSES.APPROVED
|
||||
|
||||
const hasStaked = await DiscoverService.hasStaked(
|
||||
dappMetadata.compressedMetadata,
|
||||
)
|
||||
if (hasStaked) {
|
||||
dappMetadata.ipfsHash = await IPFSService.addContent(
|
||||
dappMetadata.details,
|
||||
)
|
||||
}
|
||||
dappMetadata.ipfsHash = await IPFSService.addContent(dappMetadata.details)
|
||||
|
||||
await dappMetadata.save()
|
||||
|
||||
|
|
Loading…
Reference in New Issue