mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Upgrade framework lib
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
@@ -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.*",
|
||||
|
||||
Reference in New Issue
Block a user