Skip to content

Commit

Permalink
pr related
Browse files Browse the repository at this point in the history
  • Loading branch information
braianj committed Sep 18, 2024
1 parent d156b72 commit 11a2c10
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/adapters/deployer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ export function createDeployerComponent(
try {
const exists = await components.storage.exist(entity.entityId)

const isSnsEntityToSend = !!(
const isSnsEntityToSend =
(entity.entityType === 'scene' || entity.entityType === 'wearable' || entity.entityType === 'emote') &&
components.sns.arn
)
!!components.sns.arn

const isSnsEventToSend = !!components.sns.eventArn

if (exists || !(isSnsEntityToSend && isSnsEventToSend)) {
return await markAsDeployed()
}
Expand Down

0 comments on commit 11a2c10

Please sign in to comment.