summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-06-12 02:16:46 -0700
committerLibravatar GitHub <noreply@github.com>2024-06-12 11:16:46 +0200
commitdcf825bd87f2786e94974c35be9e5a91116a201a (patch)
treeaa8bd8c7f7c9053da62dca6381a0234d14f1910f /internal/api
parent[bugfix] Deref stats async, serve stub collections if handshaking (#2990) (diff)
downloadgotosocial-dcf825bd87f2786e94974c35be9e5a91116a201a.tar.xz
[bugfix] Correct Swagger path for poll voting (#2996)
Updates the Swagger spec to match the router. Fixes #2994
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/client/polls/polls_vote.go2
1 files changed, 1 insertions, 1 deletions
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.
//