From 62a38f4a6fa9075c59cb5cc5e40927ff27e836e5 Mon Sep 17 00:00:00 2001 From: Eduardo Keneeth Date: Mon, 26 Oct 2020 14:29:43 -0300 Subject: [PATCH] fix(sse): backup variable name --- src/sse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sse.js b/src/sse.js index 0a56915..4ff5e8f 100644 --- a/src/sse.js +++ b/src/sse.js @@ -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}.`);