aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/packages/composer/composer.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/composer/composer.go')
-rw-r--r--routers/api/packages/composer/composer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/composer/composer.go b/routers/api/packages/composer/composer.go
index a623952aa7..d93b11efdf 100644
--- a/routers/api/packages/composer/composer.go
+++ b/routers/api/packages/composer/composer.go
@@ -192,7 +192,7 @@ func DownloadPackageFile(ctx *context.Context) {
// UploadPackage creates a new package
func UploadPackage(ctx *context.Context) {
- buf, err := packages_module.CreateHashedBufferFromReader(ctx.Req.Body, 32*1024*1024)
+ buf, err := packages_module.CreateHashedBufferFromReader(ctx.Req.Body)
if err != nil {
apiError(ctx, http.StatusInternalServerError, err)
return