refactor: validation

This commit is contained in:
prafull-opensignlabs
2024-09-06 14:47:57 +05:30
parent 5a26e5c2ee
commit 980e713735
10 changed files with 43 additions and 56 deletions
@@ -225,7 +225,7 @@ async function sendmailv3(req) {
const nonCustomMail = await sendMailProvider(req, Plan, true);
return nonCustomMail;
} else {
if (MonthlyFreeEmails >= 20) {
if (MonthlyFreeEmails >= 15) {
return { status: 'quota-reached' };
} else {
const nonCustomMail = await sendMailProvider(req, Plan);