Permission bug fix
This commit is contained in:
parent
8feb3dc43c
commit
831960245f
|
@ -1133,7 +1133,7 @@ App::post('/v1/functions/:functionId/executions')
|
||||||
}
|
}
|
||||||
|
|
||||||
$execution->setAttribute('status', 'processing');
|
$execution->setAttribute('status', 'processing');
|
||||||
$execution = $dbForProject->updateDocument('executions', $executionId, $execution);
|
Authorization::skip(fn () => $dbForProject->updateDocument('executions', $executionId, $execution));
|
||||||
|
|
||||||
$vars = array_reduce($function['vars'] ?? [], function (array $carry, Document $var) {
|
$vars = array_reduce($function['vars'] ?? [], function (array $carry, Document $var) {
|
||||||
$carry[$var->getAttribute('key')] = $var->getAttribute('value') ?? '';
|
$carry[$var->getAttribute('key')] = $var->getAttribute('value') ?? '';
|
||||||
|
|
Loading…
Reference in a new issue