Upgrade framework lib

This commit is contained in:
Matej Bačo
2022-12-29 09:25:18 +01:00
parent 469e1adf9d
commit 6e7201d179
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ App::get('/v1/avatars/qr')
->param('download', false, new Boolean(true), 'Return resulting image with \'Content-Disposition: attachment \' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.', true)
->inject('response')
->action(function (string $text, int $size, int $margin, mixed $download, Response $response) {
$download = in_array($download, ['1', 'true', 1, true], true);
$download = in_array($download, ['true', true], true);
$options = new QROptions([
'addQuietzone' => true,
+1 -1
View File
@@ -611,7 +611,7 @@ App::post('/v1/functions/:functionId/deployments')
->inject('deviceFunctions')
->inject('deviceLocal')
->action(function (string $functionId, string $entrypoint, mixed $code, mixed $activate, Request $request, Response $response, Database $dbForProject, Event $events, Document $project, Device $deviceFunctions, Device $deviceLocal) {
$activate = in_array($activate, ['1', 'true', 1, true], true);
$activate = in_array($activate, ['true', true], true);
$function = $dbForProject->getDocument('functions', $functionId);
+1 -1
View File
@@ -52,7 +52,7 @@
"utopia-php/database": "0.28.*",
"utopia-php/preloader": "0.2.*",
"utopia-php/domains": "1.1.*",
"utopia-php/framework": "0.25.*",
"utopia-php/framework": "dev-fix-loose-booleans as 0.26.0",
"utopia-php/image": "0.5.*",
"utopia-php/locale": "0.4.*",
"utopia-php/logger": "0.3.*",