mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #12810 from appwrite/limit-ping-counts
pings skip events
This commit is contained in:
1 file changed
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user