diff --git a/app/routes/synonyms/synonyms.server.ts b/app/routes/synonyms/synonyms.server.ts index 9887a9d96..4fe83f9b1 100644 --- a/app/routes/synonyms/synonyms.server.ts +++ b/app/routes/synonyms/synonyms.server.ts @@ -165,7 +165,7 @@ export async function tryInitSynonym(eventId: string) { try { await db.synonyms.update({ Key: { eventId }, - UpdateExpression: 'set #synonymId = :synonymId', + UpdateExpression: 'set #synonymId = :synonymId, #slug = :slug', ExpressionAttributeNames: { '#synonymId': 'synonymId', '#slug': 'slug',