1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

fix file custom ID

This commit is contained in:
Damodar Lohani 2021-09-12 15:52:19 +05:45
parent 9052d34b33
commit b0bdcebd15

View file

@ -666,6 +666,7 @@ App::post('/v1/storage/buckets/:bucketId/files')
if ($file->isEmpty()) {
$file = $dbForInternal->createDocument('bucket_' . $bucketId, new Document([
'$id' => $fileId,
'$read' => $read,
'$write' => $write,
'dateCreated' => \time(),