summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/notify/threads.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/notify/threads.go')
-rw-r--r--routers/api/v1/notify/threads.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/notify/threads.go b/routers/api/v1/notify/threads.go
index efe5bcb59c..0865d12156 100644
--- a/routers/api/v1/notify/threads.go
+++ b/routers/api/v1/notify/threads.go
@@ -82,7 +82,7 @@ func ReadThread(ctx *context.APIContext) {
return
}
- targetStatus := statusStringToNotificationStatus(ctx.Query("to-status"))
+ targetStatus := statusStringToNotificationStatus(ctx.Form("to-status"))
if targetStatus == 0 {
targetStatus = models.NotificationStatusRead
}