From b7c4a281af5d2119943cc67ca52255bb07e9f2f0 Mon Sep 17 00:00:00 2001 From: Caleb Tuttle <1calebtuttle@gmail.com> Date: Mon, 6 May 2024 22:02:32 -0400 Subject: [PATCH] fix --- src/services/admin/user-verifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/admin/user-verifications.js b/src/services/admin/user-verifications.js index 4b74bcc..0b3fdbe 100644 --- a/src/services/admin/user-verifications.js +++ b/src/services/admin/user-verifications.js @@ -82,7 +82,7 @@ async function deleteUserVerification(req, res) { date: new Date().toISOString().slice(0, 10), }).exec(); const deletionCountToday = deletionCountDoc?.deletionCount ?? 0; - if (deletionCountToday >= sessionCountToday * 0.02 + 30) { + if (deletionCountToday >= sessionCountToday * 0.02) { deleteEndpointLogger.info("Deletion limit reached for today. Exiting."); return res .status(429)