mirror of
https://gitee.com/gitea/gitea
synced 2025-11-04 00:20:25 +08:00
API: Fix GetQueryBeforeSince (#13559)
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user