Skip to content

Commit dc1773b

Browse files
committed
Convert get to post
1 parent 8658304 commit dc1773b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flow/flow.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export class FlowController {
189189
@ApiOperation({
190190
summary: 'Used for a pairwise vote between two collections',
191191
})
192-
@Get('/ballot/success')
192+
@Post('/ballot/success')
193193
async successBallot(@Req() { userId }: AuthedReq) {
194194
await this.prismaService.user.update({
195195
where: {

0 commit comments

Comments
 (0)