summaryrefslogtreecommitdiff
path: root/internal/api/client/timelines/list.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/timelines/list.go')
-rw-r--r--internal/api/client/timelines/list.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/client/timelines/list.go b/internal/api/client/timelines/list.go
index e76107f1d..e2f77ce1d 100644
--- a/internal/api/client/timelines/list.go
+++ b/internal/api/client/timelines/list.go
@@ -102,8 +102,12 @@ import (
// type: string
// description: Links to the next and previous queries.
// '401':
+// schema:
+// "$ref": "#/definitions/error"
// description: unauthorized
// '400':
+// schema:
+// "$ref": "#/definitions/error"
// description: bad request
func (m *Module) ListTimelineGETHandler(c *gin.Context) {
authed, errWithCode := apiutil.TokenAuth(c,