mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-20 22:52:39 +02:00
refactor: validation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user