Skip to content

Commit deac5a6

Browse files
committed
re-use keyword variable
1 parent f0f2b71 commit deac5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/user/notification.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func NotificationWatching(ctx *context.Context) {
381381
Page: page,
382382
},
383383
Actor: ctx.Doer,
384-
Keyword: ctx.FormTrim("q"),
384+
Keyword: keyword,
385385
OrderBy: orderBy,
386386
Private: ctx.IsSigned,
387387
WatchedByID: ctx.Doer.ID,

0 commit comments

Comments
 (0)