Merge pull request #178 from theoway/adding_no_retry_mechanism

`noRetry` in response body to stop retrying in case of non-recoverable failure.
pull/179/head
Piero Toffanin 2022-02-04 09:58:45 -05:00 zatwierdzone przez GitHub
commit b076c6f1b7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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});
}
},