summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/notify/repo.go
diff options
context:
space:
mode:
authoroliverpool <git@olivier.pfad.fr>2024-03-20 11:21:29 +0100
committeroliverpool <git@olivier.pfad.fr>2024-03-24 07:12:31 +0100
commit2d209f1130910829680acefef064e71561d6430f (patch)
tree537dff5d35197a6d802fdb698354d3092724119a /routers/api/v1/notify/repo.go
parentfix action fixtures (diff)
downloadforgejo-2d209f1130910829680acefef064e71561d6430f.tar.xz
forgejo-2d209f1130910829680acefef064e71561d6430f.zip
drop log.Error in ReadRepoNotifications
Diffstat (limited to '')
-rw-r--r--routers/api/v1/notify/repo.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/api/v1/notify/repo.go b/routers/api/v1/notify/repo.go
index 8d97e8a3f8..1744426ee8 100644
--- a/routers/api/v1/notify/repo.go
+++ b/routers/api/v1/notify/repo.go
@@ -10,7 +10,6 @@ import (
activities_model "code.gitea.io/gitea/models/activities"
"code.gitea.io/gitea/models/db"
- "code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/structs"
"code.gitea.io/gitea/services/context"
"code.gitea.io/gitea/services/convert"
@@ -201,7 +200,6 @@ func ReadRepoNotifications(ctx *context.APIContext) {
if !ctx.FormBool("all") {
statuses := ctx.FormStrings("status-types")
opts.Status = statusStringsToNotificationStatuses(statuses, []string{"unread"})
- log.Error("%v", opts.Status)
}
nl, err := db.Find[activities_model.Notification](ctx, opts)
if err != nil {