From 14fac182ea088863a4cf64783d771de51734fa1d Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Tue, 8 Sep 2020 23:07:38 +0300 Subject: [PATCH] Fixed account warning --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 9dcd2109ef..c48557edc1 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -41,7 +41,7 @@ App::post('/v1/account') ->param('email', '', function () { return new Email(); }, 'User email.') ->param('password', '', function () { return new Password(); }, 'User password. Must be between 6 to 32 chars.') ->param('name', '', function () { return new Text(128); }, 'User name. Max length: 128 chars.', true) - ->action(function ($email, $password, $name, $request, $response, $project, $projectDB, $webhooks, $audits) use ($oauth2Keys) { + ->action(function ($email, $password, $name, $request, $response, $project, $projectDB, $webhooks, $audits) { /** @var Utopia\Swoole\Request $request */ /** @var Appwrite\Utopia\Response $response */ /** @var Appwrite\Database\Document $project */