Closed ricardobalk closed 1 year ago
Maybe I should also update the line:
Response has Id, Token and UserPerson. (...)
to
Response has Id, Token and UserPerson or UserCompany. (...)
Give me a sec, I'll add a new commit to my repository. Will show up here as well.
Done. 👍🏼
When adding a session for a company user, the
user_id
andsession_token
environment variables were not updated due to failed tests.This small change fixes it by first determining if we are dealing with a regular user or a company user, before doing tests and updating Postman's env vars.
Steps to reproduce the issue
Steps I've taken to fix it
I changed the following code (in the Tests section of 'Add a session'):
To this:
Now it works again! 🌈 👍🏼