Fix add issue to multiple project issue

This commit is contained in:
Tyrone Yeh
2025-05-07 13:24:24 +08:00
parent 18f2d469d9
commit f839864ee5
+3 -4
View File
@@ -154,10 +154,9 @@ func IssueAssignOrRemoveProject(ctx context.Context, issue *Issue, doer *user_mo
}
pi = append(pi, &project_model.ProjectIssue{
IssueID: issue.ID,
ProjectID: pID,
ProjectColumnID: newColumnID,
Sorting: newSorting,
IssueID: issue.ID,
ProjectID: pID,
Sorting: newSorting,
})
if _, err := CreateComment(ctx, &CreateCommentOptions{