remove: $isTablesAPI var.

This commit is contained in:
Darshan 2025-06-11 16:51:27 +05:30
parent 86a9598a51
commit 3e1adc6004

View file

@ -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);