aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index 9a691471d5..739370da69 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -28,7 +28,6 @@ import (
"code.gitea.io/gitea/modules/util"
comment_service "code.gitea.io/gitea/services/comments"
issue_service "code.gitea.io/gitea/services/issue"
- milestone_service "code.gitea.io/gitea/services/milestone"
"github.com/unknwon/com"
)
@@ -1099,7 +1098,7 @@ func UpdateIssueMilestone(ctx *context.Context) {
continue
}
issue.MilestoneID = milestoneID
- if err := milestone_service.ChangeMilestoneAssign(issue, ctx.User, oldMilestoneID); err != nil {
+ if err := issue_service.ChangeMilestoneAssign(issue, ctx.User, oldMilestoneID); err != nil {
ctx.ServerError("ChangeMilestoneAssign", err)
return
}