I’m having an issue with a simple IF check.
Iam using an api for User login and logout.
I want to check weather a usertoken is still valid. The api call is working fine. It gives one of two responses: false or true. Checked it in postman and it works fine. (status 200 and response false or true).
But somehow my blocks always run the stuff inside the if statement. Never the else part. No matter if its true or false.