mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update init.php
This commit is contained in:
+1
-1
@@ -1005,7 +1005,7 @@ App::setResource('project', function ($dbForConsole, $request, $console) {
|
||||
|
||||
$projectId = $request->getParam('project', $request->getHeader('x-appwrite-project', ''));
|
||||
|
||||
if ($projectId === 'console') {
|
||||
if (empty($projectId) || $projectId === 'console') {
|
||||
return $console;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user