Skip to content

Commit

Permalink
Merge pull request #54 from GeneralMagicio/staging
Browse files Browse the repository at this point in the history
Convert get to post
  • Loading branch information
mmahdigh authored Oct 3, 2024
2 parents 8c1539b + dc1773b commit 599a899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flow/flow.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class FlowController {
@ApiOperation({
summary: 'Used for a pairwise vote between two collections',
})
@Get('/ballot/success')
@Post('/ballot/success')
async successBallot(@Req() { userId }: AuthedReq) {
await this.prismaService.user.update({
where: {
Expand Down

0 comments on commit 599a899

Please sign in to comment.