Skip to content

Commit

Permalink
Match api migration behavior to web behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
atomaka committed Mar 17, 2023
1 parent 46addc1 commit 78f75a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/v1/repo/migrate.go
Expand Up @@ -154,7 +154,7 @@ func Migrate(ctx *context.APIContext) {
Issues: form.Issues,
Milestones: form.Milestones,
Labels: form.Labels,
Comments: true,
Comments: form.Issues || form.PullRequests,
PullRequests: form.PullRequests,
Releases: form.Releases,
GitServiceType: gitServiceType,
Expand Down

0 comments on commit 78f75a4

Please sign in to comment.