mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
API: Fix GetQueryBeforeSince (#13559)
This commit is contained in:
@@ -63,7 +63,7 @@ func ListNotifications(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{
|
||||
|
Reference in New Issue
Block a user