Skip to content

Commit f5476bd

Browse files
authored
bug fixed for delete repo failed (#1193)
1 parent 656efdc commit f5476bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ func DeleteRepository(uid, repoID int64) error {
15851585

15861586
attachments := make([]*Attachment, 0, 5)
15871587
if err = sess.
1588-
In("issue_id=?", issueIDs).
1588+
In("issue_id", issueIDs).
15891589
Find(&attachments); err != nil {
15901590
return err
15911591
}

0 commit comments

Comments
 (0)