mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: remove array merge for documents
This commit is contained in:
@@ -151,9 +151,7 @@ class FunctionsV1 extends Worker
|
||||
$function = Authorization::skip(fn () => $database->updateDocument(
|
||||
'functions',
|
||||
$function->getId(),
|
||||
new Document(array_merge($function->getArrayCopy(), [
|
||||
'scheduleNext' => (int)$next,
|
||||
]))
|
||||
$function->setAttribute('scheduleNext', (int) $next)
|
||||
));
|
||||
|
||||
if ($function === false) {
|
||||
|
||||
Reference in New Issue
Block a user