mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Fix defualts for bulk op add
This commit is contained in:
parent
ad8cebc6e3
commit
46f8d76d7a
1 changed files with 2 additions and 2 deletions
|
|
@ -94,9 +94,9 @@ class Create extends Action
|
|||
'databaseInternalId' => $database->getSequence(),
|
||||
'collectionInternalId' => $collection->getSequence(),
|
||||
'transactionInternalId' => $transaction->getSequence(),
|
||||
'documentId' => $operation['documentId'] ?? ID::unique(),
|
||||
'documentId' => $operation['documentId'] ?? null,
|
||||
'action' => $operation['action'],
|
||||
'data' => $operation['data'] ?? new \stdClass(),
|
||||
'data' => $operation['data'] ?? [],
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue