Skip to content

Commit

Permalink
Merge pull request #2777 from Courey/courey/fix_query_slug
Browse files Browse the repository at this point in the history
update set to include slug
  • Loading branch information
dakota002 authored Dec 10, 2024
2 parents 3333cce + f23593b commit 05c0611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/synonyms/synonyms.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 05c0611

Please sign in to comment.