feat: validtion of quicksend

This commit is contained in:
prafull-opensignlabs
2024-08-20 15:56:00 +05:30
parent 9a03bfb9e7
commit 5d89f724f4
16 changed files with 561 additions and 288 deletions
@@ -393,7 +393,7 @@ export default async function createDocumentWithTemplate(request, response) {
} else {
return response
.status(429)
.json({ error: 'Quota reached. Please buy API credits and try again later.' });
.json({ error: 'Quota reached, Please buy API credits and try again later.' });
}
} else {
return response.status(405).json({ error: 'Invalid API Token!' });
@@ -413,7 +413,7 @@ export default async function createDocumentwithCoordinate(request, response) {
} else {
return response
.status(429)
.json({ error: 'Quota reached. Please buy API credits and try again later.' });
.json({ error: 'Quota reached, Please buy API credits and try again later.' });
}
} else {
return response.status(405).json({ error: 'Invalid API Token!' });