summaryrefslogtreecommitdiff
path: root/internal/api/client/polls/polls_get.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/polls/polls_get.go')
-rw-r--r--internal/api/client/polls/polls_get.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/polls/polls_get.go b/internal/api/client/polls/polls_get.go
index 0b15c0ed1..fc89255e9 100644
--- a/internal/api/client/polls/polls_get.go
+++ b/internal/api/client/polls/polls_get.go
@@ -96,5 +96,5 @@ func (m *Module) PollGETHandler(c *gin.Context) {
return
}
- c.JSON(http.StatusOK, poll)
+ apiutil.JSON(c, http.StatusOK, poll)
}