mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Update src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
6581d68e6d
commit
a9a97b2fe0
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ class Create extends Action
|
||||||
if (($existing + 1) > $maxBatch) {
|
if (($existing + 1) > $maxBatch) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
Exception::TRANSACTION_LIMIT_EXCEEDED,
|
Exception::TRANSACTION_LIMIT_EXCEEDED,
|
||||||
'Transaction already has ' . $existing . ' operations, adding ' . \count($documents) . ' would exceed the maximum of ' . $maxBatch
|
'Transaction already has ' . $existing . ' operations, adding 1 would exceed the maximum of ' . $maxBatch
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue