Skip to content

Commit d4f5ee3

Browse files
committed
improve
1 parent e332bdf commit d4f5ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/issues/issue_update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ func GetOrphanedIssueRepoIDs(ctx context.Context) ([]int64, error) {
819819
var repoIDs []int64
820820
if err := db.GetEngine(ctx).Table("issue").Distinct("issue.repo_id").
821821
Join("LEFT", "repository", "issue.repo_id=repository.id").
822-
Where(builder.IsNull{"repository.id"}).GroupBy("issue.repo_id").
822+
Where(builder.IsNull{"repository.id"}).
823823
Find(&repoIDs); err != nil {
824824
return nil, err
825825
}

0 commit comments

Comments
 (0)