Skip to content

Commit

Permalink
Fixed logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwhelchel committed Jan 11, 2024
1 parent d7ff5e6 commit 27ea402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app-simplefin/app-simplefin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 27ea402

Please sign in to comment.