From 9f57be5587a564d4dc61d3d60a4c59745a7b684e Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Wed, 11 Jun 2025 21:57:33 -0400 Subject: [PATCH] Fixed 409 error count --- layouts/partials/highfive.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/highfive.html b/layouts/partials/highfive.html index 6a78263..4855232 100644 --- a/layouts/partials/highfive.html +++ b/layouts/partials/highfive.html @@ -147,7 +147,7 @@ try { const data = await makeApiRequest('POST'); - const newCount = data.count || 0; + const newCount = data.count || currentCount; currentCount = newCount; // Check if user already gave a high five (HTTP 409 response)