mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-07 02:07:40 +02:00
feat: validtion of quicksend
This commit is contained in:
@@ -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!' });
|
||||
|
||||
Reference in New Issue
Block a user