diff options
author | 6543 <6543@obermui.de> | 2021-06-17 16:02:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 16:02:34 +0200 |
commit | b3fbd37e992cf3f9f42f49818087c67d464000eb (patch) | |
tree | ddb4aee79d6dfafaa3ff64acffed6f119c222acd /routers/api/v1/notify/user.go | |
parent | 0db1048c3ab0b0802779fd84b86c4335c37e54b3 (diff) | |
download | gitea-b3fbd37e992cf3f9f42f49818087c67d464000eb.tar.gz gitea-b3fbd37e992cf3f9f42f49818087c67d464000eb.zip |
[API] expose repo.GetReviewers() & repo.GetAssignees() (#16168)
* API: expose repo.GetReviewers() & repo.GetAssignees()
* Add tests
* fix unrelated swagger query type
Diffstat (limited to 'routers/api/v1/notify/user.go')
-rw-r--r-- | routers/api/v1/notify/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/notify/user.go b/routers/api/v1/notify/user.go index 1ff62622b0..475a541bdc 100644 --- a/routers/api/v1/notify/user.go +++ b/routers/api/v1/notify/user.go @@ -27,7 +27,7 @@ func ListNotifications(ctx *context.APIContext) { // - name: all // in: query // description: If true, show notifications marked as read. Default value is false - // type: string + // type: boolean // - name: status-types // in: query // description: "Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned." |