mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix vars exception, change cachedoc usage,
This commit is contained in:
@@ -260,9 +260,7 @@ class FunctionsV1 extends Worker
|
||||
|
||||
$vars = [];
|
||||
|
||||
$variables = $dbForProject->find('variables', [
|
||||
new Query('functionInternalId', Query::TYPE_EQUAL, [$function->getInternalId()]),
|
||||
], APP_LIMIT_COUNT);
|
||||
$variables = $function['vars'];
|
||||
|
||||
foreach ($variables as $variable) {
|
||||
$vars[$variable['key']] = $variable['value'];
|
||||
|
||||
Reference in New Issue
Block a user