update chunks uploaded when all chunks are uploaded

This commit is contained in:
Damodar Lohani
2021-12-09 13:30:52 +05:45
parent a6860b9c9b
commit a3fa418aa5
+2 -1
View File
@@ -729,7 +729,8 @@ App::post('/v1/storage/buckets/:bucketId/files')
->setAttribute('openSSLVersion', $openSSLVersion)
->setAttribute('openSSLCipher', $openSSLCipher)
->setAttribute('openSSLTag', $openSSLTag)
->setAttribute('openSSLIV', $openSSLIV);
->setAttribute('openSSLIV', $openSSLIV)
->setAttribute('chunksUploaded', $chunksUploaded);
if($permissionBucket) {
$file = Authorization::skip(function() use ($dbForInternal, $bucketId, $fileId, $file) {