mirror of
https://gitee.com/gitea/gitea
synced 2025-12-08 17:20:28 +08:00
API: Fix GetQueryBeforeSince (#13561)
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