This commit is contained in:
fogelito committed 2026-07-07 16:52:57 +03:00
1 parent b672a47b7e
commit 0f9f0db9dc
1 file changed
+1 -3
+1 -3
View File
@@ -1664,7 +1664,6 @@ Http::get('/v1/ping')
->groups(['api', 'general'])
->desc('Test the connection between the Appwrite and the SDK.')
->label('scope', 'global')
->label('event', 'projects.[projectId].ping')
->label('sdk', new Method(
namespace: 'ping',
group: null,
@@ -1699,10 +1698,9 @@ Http::get('/v1/ping')
])));
$queueForEvents
->setEvent('projects.[projectId].ping')
->setParam('projectId', $project->getId())
->setPayload($response->output($project, Response::MODEL_PROJECT));
} else {
$queueForEvents->setEvent('');
}
$response->text('Pong!');