Skip to content

Commit e80c6cd

Browse files
fix conflict resolution
1 parent ebee69d commit e80c6cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/web/repo/issue.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,13 +363,13 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption uti
363363
return 0
364364
}
365365

366-
projects, _, err := project_model.GetProjects(ctx, project_model.SearchOptions{
366+
projects, _, err := project_model.FindProjects(ctx, project_model.SearchOptions{
367367
RepoID: repo.ID,
368368
Type: project_model.TypeRepository,
369369
IsClosed: util.OptionalBoolOf(isShowClosed),
370370
})
371371
if err != nil {
372-
ctx.ServerError("GetProjects", err)
372+
ctx.ServerError("FindProjects", err)
373373
return
374374
}
375375
ctx.Data["Projects"] = projects

0 commit comments

Comments
 (0)