diff --git a/src/badge/handlers/moderation/awardBadge.ts b/src/badge/handlers/moderation/awardBadge.ts index b0c2f0b8..577d7d89 100644 --- a/src/badge/handlers/moderation/awardBadge.ts +++ b/src/badge/handlers/moderation/awardBadge.ts @@ -18,12 +18,14 @@ async function awardBadge( badgeId: string, badgeMetaData: string ) { - const now = new Date().toISOString(); const badge = { badgeId: badgeId, badgeMetaData: badgeMetaData, + createdAt: now, + isDisplayed: true, + updatedAt: now, }; try {