From 27ea402c13acbf5c98c5a755c78f09249bc15ebf Mon Sep 17 00:00:00 2001 From: Zach Whelchel Date: Thu, 11 Jan 2024 16:47:33 -0500 Subject: [PATCH] Fixed logic. --- src/app-simplefin/app-simplefin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }