From 65ec08a01883217fe161fdd09d026201fb6f7b79 Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 13 Jun 2024 14:19:30 +0300 Subject: [PATCH] response fix --- src/Appwrite/Platform/Workers/Deletes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Deletes.php b/src/Appwrite/Platform/Workers/Deletes.php index eea5306837..b5e121604f 100644 --- a/src/Appwrite/Platform/Workers/Deletes.php +++ b/src/Appwrite/Platform/Workers/Deletes.php @@ -93,7 +93,7 @@ class Deletes extends Action $this->deleteDeployment($getProjectDB, $deviceForFunctions, $deviceForBuilds, $document, $project); break; case DELETE_TYPE_USERS: - $this->deleteUser($getProjectDB, $document, $project, $dbForConsole); + $this->deleteUser($getProjectDB, $document, $project); break; case DELETE_TYPE_TEAMS: $this->deleteMemberships($getProjectDB, $document, $project); @@ -574,7 +574,7 @@ class Deletes extends Action * @return void * @throws Exception */ - protected function deleteUser(callable $getProjectDB, Document $document, Document $project, Database $dbForConsole): void + protected function deleteUser(callable $getProjectDB, Document $document, Document $project): void { $userId = $document->getId();