mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
bug fixed for delete repo failed (#1193)
This commit is contained in:
parent
656efdc1c7
commit
f5476bdbb1
1 changed files with 1 additions and 1 deletions
|
@ -1585,7 +1585,7 @@ func DeleteRepository(uid, repoID int64) error {
|
||||||
|
|
||||||
attachments := make([]*Attachment, 0, 5)
|
attachments := make([]*Attachment, 0, 5)
|
||||||
if err = sess.
|
if err = sess.
|
||||||
In("issue_id=?", issueIDs).
|
In("issue_id", issueIDs).
|
||||||
Find(&attachments); err != nil {
|
Find(&attachments); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue