mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix defualts for bulk op add
This commit is contained in:
@@ -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'] ?? [],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user