Skip to content

Commit 7e6750e

Browse files
committed
Rename variable projectIDs to ids
1 parent 967a233 commit 7e6750e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/web/repo/projects.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,9 @@ func UpdateIssueProject(ctx *context.Context) {
445445
return
446446
}
447447

448-
projectIDs, _ := base.StringsToInt64s(strings.Split(ctx.FormString("id"), ","))
448+
ids, _ := base.StringsToInt64s(strings.Split(ctx.FormString("id"), ","))
449449
for _, issue := range issues {
450-
if err := issues_model.IssueAssignOrRemoveProject(ctx, issue, ctx.Doer, projectIDs, 0); err != nil {
450+
if err := issues_model.IssueAssignOrRemoveProject(ctx, issue, ctx.Doer, ids, 0); err != nil {
451451
if errors.Is(err, util.ErrPermissionDenied) {
452452
continue
453453
}

0 commit comments

Comments
 (0)