From c269fc22ed9119aebcab5c9da9a6fa9f9a6f0f4e Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 6 Feb 2025 10:04:03 +0000 Subject: [PATCH] chore: remove unnecessary injections --- src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php index 65430e711f..39e6e306ae 100644 --- a/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php +++ b/src/Appwrite/Platform/Modules/Storage/Http/Tokens/Update.php @@ -63,8 +63,6 @@ class Update extends Action ->param('permissions', null, new Permissions(APP_LIMIT_ARRAY_PARAMS_SIZE, [Database::PERMISSION_READ, Database::PERMISSION_UPDATE, Database::PERMISSION_DELETE, Database::PERMISSION_WRITE]), 'An array of permission string. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).', true) ->inject('response') ->inject('dbForProject') - ->inject('user') - ->inject('mode') ->inject('queueForEvents') ->callback(fn ($tokenId, $expire, $permissions, $response, $dbForProject, $queueForEvents) => $this->action($tokenId, $expire, $permissions, $response, $dbForProject, $queueForEvents)); }