Skip to content

Commit

Permalink
🐛 Update poll status when finalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevella committed Dec 5, 2023
1 parent 04211ac commit a804608
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/trpc/routers/polls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ export const polls = router({
id: input.pollId,
},
data: {
status: "finalized",
event: {
create: {
optionId: input.optionId,
Expand Down

1 comment on commit a804608

@vercel
Copy link

@vercel vercel bot commented on a804608 Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

app – ./

app-rallly.vercel.app
app-git-main-rallly.vercel.app
app.rallly.co

Please sign in to comment.