From 8c50a32f9ec9ec8d0810d0e79ded487c9a66cee9 Mon Sep 17 00:00:00 2001 From: Shmuel Fogel Date: Tue, 7 Jul 2026 09:15:18 +0300 Subject: [PATCH] Update app/controllers/general.php Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- app/controllers/general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/general.php b/app/controllers/general.php index bcd9c82174..8e2fd23d46 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -1698,7 +1698,7 @@ Http::get('/v1/ping') $pingCount = $project->getAttribute('pingCount', 0) + 1; - if ($pingCount <= 1) { + if ($pingCount === 1) { $project = $authorization->skip(fn () => $dbForPlatform->updateDocument('projects', $project->getId(), new Document([ 'pingCount' => $pingCount, 'pingedAt' => DateTime::now(),