Adding noRetry in response to indicate a non-recoverable scenario

pull/178/head
Umang Kalra 2022-02-03 22:36:05 +05:30
rodzic dc32c0a232
commit 36782b415d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -143,7 +143,7 @@ module.exports = {
if (req.files && req.files.length > 0){
res.json({success: true});
}else{
res.json({error: "Need at least 1 file."});
res.json({error: "Need at least 1 file.", noRetry: true});
}
},