diff options
Diffstat (limited to 'routers/api/v1/notify/threads.go')
-rw-r--r-- | routers/api/v1/notify/threads.go | 2 |
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 } |