aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/packages/swift/swift.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/swift/swift.go')
-rw-r--r--routers/api/packages/swift/swift.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/swift/swift.go b/routers/api/packages/swift/swift.go
index f78f703778..06f592dd64 100644
--- a/routers/api/packages/swift/swift.go
+++ b/routers/api/packages/swift/swift.go
@@ -300,7 +300,7 @@ func UploadPackageFile(ctx *context.Context) {
}
defer file.Close()
- buf, err := packages_module.CreateHashedBufferFromReader(file, 32*1024*1024)
+ buf, err := packages_module.CreateHashedBufferFromReader(file)
if err != nil {
apiError(ctx, http.StatusInternalServerError, err)
return