Remove check for staked tokens from approve controller

This commit is contained in:
Lyubomir Kiprov 2019-07-22 14:02:42 +03:00
parent fc7e1d50d6
commit 16d19d56c7
1 changed files with 1 additions and 8 deletions

View File

@ -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()