Skip to content

Commit

Permalink
fix: Deploying store with empty banner (decentraland#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia authored Jun 8, 2022
1 parent 01ed9f9 commit f103eca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webapp/src/modules/store/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ export const deployStoreEntity = async (
timestamp: Date.now()
}

const entity: DeploymentPreparationData =
files.size === 0
? await client.buildEntityWithoutNewFiles(options)
: await client.buildEntity({ ...options, files })
const entity: DeploymentPreparationData = await client.buildEntity({
...options,
files
})

const authChain = Authenticator.signPayload(identity, entity.entityId)

Expand Down

0 comments on commit f103eca

Please sign in to comment.