mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
Merge pull request #9361 from appwrite/pla-2492
Fix Model Platform is missing response key: store
This commit is contained in:
commit
d0630eae79
1 changed files with 1 additions and 1 deletions
|
|
@ -1148,7 +1148,7 @@ App::get('/v1/ping')
|
|||
->inject('dbForPlatform')
|
||||
->inject('queueForEvents')
|
||||
->action(function (Response $response, Document $project, Database $dbForPlatform, Event $queueForEvents) {
|
||||
if ($project->isEmpty()) {
|
||||
if ($project->isEmpty() || $project->getId() === 'console') {
|
||||
throw new AppwriteException(AppwriteException::PROJECT_NOT_FOUND);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue