1
0
Fork 0
mirror of synced 2024-10-01 09:47:43 +13:00

fix undefined param

This commit is contained in:
Damodar Lohani 2021-09-27 12:17:41 +05:45
parent 6afd021233
commit 6c494e8439

View file

@ -732,7 +732,7 @@ App::post('/v1/storage/buckets/:bucketId/files')
;
$usage
->setParam('storage', $sizeActual)
->setParam('storage', $sizeActual ?? 0)
->setParam('storage.files.create', 1)
->setParam('bucketId', $bucketId)
;