This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix bug
tags/v1.21.12.1
Lunny Xiao
yan
5 years ago
parent
c6739db1ae
commit
34c2b48cf1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/attachment.go
+ 1
- 1
models/attachment.go
View File
@@ -220,7 +220,7 @@ func DeleteAttachments(attachments []*Attachment, remove bool) (int, error) {
if remove {
for i, a := range attachments {
if storage.Attachments.Delete(a.RelativePath()); err != nil {
if
err :=
storage.Attachments.Delete(a.RelativePath()); err != nil {
return i, err
}
}
Write
Preview
Loading…
Cancel
Save