mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 01:18:37 +00:00
GENERAL_ACCESS_FORBIDDEN
This commit is contained in:
parent
a7318fdf8b
commit
b224aee2fe
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ function router(App $utopia, Database $dbForConsole, callable $getProjectDB, Swo
|
||||||
$utopia->getRoute()?->label('error', '');
|
$utopia->getRoute()?->label('error', '');
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
throw new AppwriteException(AppwriteException::GENERAL_SERVER_ERROR, 'Unknown resource type ' . $type);
|
throw new AppwriteException(AppwriteException::GENERAL_ACCESS_FORBIDDEN, 'Unknown resource type ' . $type);
|
||||||
}
|
}
|
||||||
|
|
||||||
$utopia->getRoute()?->label('error', '');
|
$utopia->getRoute()?->label('error', '');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue