mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix file custom ID
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user