Skip to content

Commit

Permalink
fixit
Browse files Browse the repository at this point in the history
  • Loading branch information
pvanwamelen committed Oct 22, 2023
1 parent 0be07d8 commit bcdf658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/abstractplay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3039,7 +3039,7 @@ async function markAsPublished(userid: string, pars: { id: string; metagame: str
published.push(userid);
await ddbDocClient.send(new UpdateCommand({
TableName: process.env.ABSTRACT_PLAY_TABLE,
Key: { "pk": "GAME", "sk": pars.id + "#1#" + pars.metagame },
Key: { "pk": "GAME", "sk": pars.metagame + "#1#" + pars.id },
ExpressionAttributeValues: { ":p": published },
UpdateExpression: "set published = :p"
}));
Expand Down

0 comments on commit bcdf658

Please sign in to comment.