mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-22 01:34:18 +00:00
API: Fix GetQueryBeforeSince (#13559)
This commit is contained in:
parent
374ff60465
commit
3f3447a1ea
5 changed files with 45 additions and 25 deletions
|
@ -101,7 +101,7 @@ func ListRepoNotifications(ctx *context.APIContext) {
|
|||
|
||||
before, since, err := utils.GetQueryBeforeSince(ctx)
|
||||
if err != nil {
|
||||
ctx.InternalServerError(err)
|
||||
ctx.Error(http.StatusUnprocessableEntity, "GetQueryBeforeSince", err)
|
||||
return
|
||||
}
|
||||
opts := models.FindNotificationOptions{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue