update: remove authorization from global handler.

This commit is contained in:
Darshan 2025-06-11 16:46:21 +05:30
parent 6b53337a23
commit dc439d1a16

View file

@ -1177,9 +1177,6 @@ App::error()
case 'Utopia\Database\Exception\Timeout':
$error = new AppwriteException(AppwriteException::DATABASE_TIMEOUT, previous: $error);
break;
case 'Utopia\Database\Exception\Authorization':
$error = new AppwriteException(AppwriteException::USER_UNAUTHORIZED);
break;
case 'Utopia\Database\Exception\NotFound':
$error = new AppwriteException(
$isTablesAPI