Skip to content

Commit 7243ed9

Browse files
committed
Fix error: non-name opts.Labels on left side of :=
1 parent 36f687c commit 7243ed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/user/home.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,8 @@ func Issues(ctx *context.Context) {
249249

250250
opts.Page = page
251251
opts.PageSize = setting.UI.IssuePagingNum
252-
opts.Labels := ctx.Query("labels")
253-
252+
opts.Labels = ctx.Query("labels")
253+
254254
issues, err := models.Issues(opts)
255255
if err != nil {
256256
ctx.ServerError("Issues", err)

0 commit comments

Comments
 (0)