mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Update app/controllers/general.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
parent
b224aee2fe
commit
4d1698eab5
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,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 Client.' :
|
||||
'No Appwrite project was specified. Please specify your Appwrite Project ID in the "x-appwrite-project" header or when you initialize 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 Exception(Exception::PROJECT_RESERVED_PROJECT, $message);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue