diff --git a/src/app-simplefin/app-simplefin.js b/src/app-simplefin/app-simplefin.js index 1193d0b4a..0fdb80cdf 100644 --- a/src/app-simplefin/app-simplefin.js +++ b/src/app-simplefin/app-simplefin.js @@ -11,7 +11,7 @@ app.post('/status', async (req, res) => { let configured = false; let token = secretsService.get(SecretName.simplefin_token); - if (token !== null || token !== undefined || token !== 'Forbidden') { + if (token !== null && token !== undefined && token !== 'Forbidden') { configured = true; }