From 7e6750e998f83a788243b02e56ab109b9fd193c4 Mon Sep 17 00:00:00 2001 From: Tyrone Yeh Date: Mon, 12 May 2025 08:22:09 +0800 Subject: [PATCH] Rename variable projectIDs to ids --- routers/web/repo/projects.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/web/repo/projects.go b/routers/web/repo/projects.go index 2c46440641..0b284d0bbe 100644 --- a/routers/web/repo/projects.go +++ b/routers/web/repo/projects.go @@ -445,9 +445,9 @@ func UpdateIssueProject(ctx *context.Context) { return } - projectIDs, _ := base.StringsToInt64s(strings.Split(ctx.FormString("id"), ",")) + ids, _ := base.StringsToInt64s(strings.Split(ctx.FormString("id"), ",")) for _, issue := range issues { - if err := issues_model.IssueAssignOrRemoveProject(ctx, issue, ctx.Doer, projectIDs, 0); err != nil { + if err := issues_model.IssueAssignOrRemoveProject(ctx, issue, ctx.Doer, ids, 0); err != nil { if errors.Is(err, util.ErrPermissionDenied) { continue }