From 3e1adc600409620c9bab9b03dc23a712aafdadbe Mon Sep 17 00:00:00 2001 From: Darshan Date: Wed, 11 Jun 2025 16:51:27 +0530 Subject: [PATCH] remove: `$isTablesAPI` var. --- app/controllers/general.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index 138e96f88a..416e6b1e86 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -1159,9 +1159,6 @@ App::error() Console::error('[Error] Line: ' . $line); } - // routes like /tables, /tables/:tableId, etc. - $isTablesAPI = str_contains($route->getPath(), '/databases/:databaseId/tables'); - switch ($class) { case 'Utopia\Exception': $error = new AppwriteException(AppwriteException::GENERAL_UNKNOWN, $message, $code, $error);