aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/packages/cargo/cargo.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/cargo/cargo.go')
-rw-r--r--routers/api/packages/cargo/cargo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/cargo/cargo.go b/routers/api/packages/cargo/cargo.go
index e0bf5da13a..18c93d328a 100644
--- a/routers/api/packages/cargo/cargo.go
+++ b/routers/api/packages/cargo/cargo.go
@@ -173,7 +173,7 @@ func UploadPackage(ctx *context.Context) {
return
}
- buf, err := packages_module.CreateHashedBufferFromReader(cp.Content, 32*1024*1024)
+ buf, err := packages_module.CreateHashedBufferFromReader(cp.Content)
if err != nil {
apiError(ctx, http.StatusInternalServerError, err)
return