Merge pull request #12810 from appwrite/limit-ping-counts

pings skip events
This commit is contained in:
Shmuel Fogel authored and GitHub committed 2026-07-07 19:33:29 +03:00
commit c504486978
1 file changed
+1 -1
+1 -1
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,6 +1698,7 @@ Http::get('/v1/ping')
])));
$queueForEvents
->setEvent('projects.[projectId].ping')
->setParam('projectId', $project->getId())
->setPayload($response->output($project, Response::MODEL_PROJECT));
}