| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Update CHANGES.md Update CHANGES.md Update pack.yaml pack version
There was a problem hiding this comment.
Thanks for the fix!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #54
When calling this action without a token_user and without an action_context.api_user, the default parameter specified is for some reason being evaluated into a string "None" instead of the None object.
This causes the code block for "if token_user:" here: https://github.com/dalarsen/stackstorm-github/blob/master/actions/get_user.py#L12 to be evaluated as True and causes it to run the _change_to_user_token method to be run when it aught not be (in my organization, it leads to an unauthenticated request and causes it to crash, though I imagine this wouldn't universally be the consequence of this).