Skip to content

Commit

Permalink
fix(sse): backup variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardokeneeth committed Oct 26, 2020
1 parent 83811b3 commit 62a38f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sse.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Methods = {
responseType: 'stream',
}).catch(err => {
if (err.response.status === 404) {
if (backup) {
if (isBackup) {
console.log(`Backup not completed. ${sse} not found in ${env}.`);
} else {
console.log(`${sse} not found in ${env}.`);
Expand Down

0 comments on commit 62a38f4

Please sign in to comment.