summaryrefslogtreecommitdiff
path: root/internal/api/model/status.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-11-09 13:06:37 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-09 12:06:37 +0000
commit42a19cf390bc1b3be1331f9bce79c8372f687a77 (patch)
treeef4c099e81a06af254be2cc491e34d83050444b8 /internal/api/model/status.go
parent[bugfix] actually decrement votes during poll vote delete ... (#2344) (diff)
downloadgotosocial-42a19cf390bc1b3be1331f9bce79c8372f687a77.tar.xz
[bugfix/docs] Poll api fixups + swagger docs (#2345)
Diffstat (limited to 'internal/api/model/status.go')
-rw-r--r--internal/api/model/status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/model/status.go b/internal/api/model/status.go
index 87db77e67..a6c7f43a4 100644
--- a/internal/api/model/status.go
+++ b/internal/api/model/status.go
@@ -155,7 +155,7 @@ type StatusCreateRequest struct {
// in: formData
MediaIDs []string `form:"media_ids[]" json:"media_ids" xml:"media_ids"`
// Poll to include with this status.
- // swagger:ignore
+ // in: formData
Poll *PollRequest `form:"poll" json:"poll" xml:"poll"`
// ID of the status being replied to, if status is a reply.
// in: formData