Merge pull request #9361 from appwrite/pla-2492

Fix Model Platform is missing response key: store
This commit is contained in:
Christy Jacob
2025-02-17 17:08:17 +05:30
committed by GitHub
+1 -1
View File
@@ -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);
}