From dcf825bd87f2786e94974c35be9e5a91116a201a Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Wed, 12 Jun 2024 02:16:46 -0700 Subject: [bugfix] Correct Swagger path for poll voting (#2996) Updates the Swagger spec to match the router. Fixes #2994 --- internal/api/client/polls/polls_vote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/client') diff --git a/internal/api/client/polls/polls_vote.go b/internal/api/client/polls/polls_vote.go index c5344326f..192ecbc0f 100644 --- a/internal/api/client/polls/polls_vote.go +++ b/internal/api/client/polls/polls_vote.go @@ -29,7 +29,7 @@ import ( "github.com/superseriousbusiness/gotosocial/internal/oauth" ) -// PollVotePOSTHandler swagger:operation POST /api/v1/polls/{id}/vote pollVote +// PollVotePOSTHandler swagger:operation POST /api/v1/polls/{id}/votes pollVote // // Vote with choices in the given poll. // -- cgit v1.2.3