Update app/controllers/general.php
This commit is contained in:
parent
6a2b40db50
commit
9a7c424e85
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ App::init()
|
|||
->action(function (Document $project, Appwrite\Utopia\Request $request) {
|
||||
if ($project->getId() === 'console') {
|
||||
$message = empty($request->getHeader('x-appwrite-project')) ?
|
||||
'No Appwrite project was specified. Please specify your Appwrite Project ID in the "x-appwrite-project" header or when you initialize your Appwrite SDK.' :
|
||||
'No Appwrite project was specified. Please specify your project ID when initializing your Appwrite SDK.' :
|
||||
'This endpoint is not available for the console project. The Appwrite Console is a reserved project ID and cannot be used with the Appwrite SDKs and APIs. Please check if your project ID is correct.';
|
||||
throw new AppwriteException(AppwriteException::GENERAL_ACCESS_FORBIDDEN, $message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue