Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
calebtuttle committed May 7, 2024
1 parent e0249b5 commit b7c4a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/admin/user-verifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b7c4a28

Please sign in to comment.