We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b2ff7 commit 099c7cfCopy full SHA for 099c7cf
models/migrate.go
@@ -52,6 +52,10 @@ func InsertIssues(issues ...*Issue) error {
52
return err
53
}
54
55
+ err = UpdateRepoStats(ctx, issues[0].RepoID)
56
+ if err != nil {
57
+ return err
58
+ }
59
return committer.Commit()
60
61
@@ -83,7 +87,7 @@ func insertIssue(ctx context.Context, issue *Issue) error {
83
87
84
88
85
89
86
- return UpdateRepoStats(ctx, issue.RepoID)
90
+ return nil
91
92
93
// InsertIssueComments inserts many comments of issues.
0 commit comments