diff options
Diffstat (limited to 'models/repo/upload.go')
-rw-r--r-- | models/repo/upload.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo/upload.go b/models/repo/upload.go index e115c8e50e..13b6055701 100644 --- a/models/repo/upload.go +++ b/models/repo/upload.go @@ -121,7 +121,7 @@ func DeleteUploads(uploads ...*Upload) (err error) { return nil } - ctx, committer, err := db.TxContext() + ctx, committer, err := db.TxContext(db.DefaultContext) if err != nil { return err } |