forked from berserker/microblog
fix(streaming): req.scopes can be nullable (#16823)
When checking for required OAuth scopes, an unexpected error could happen due to missing (null-y) req.scopes. This commit fixes that by checking if req.scopes are present before checking if any required scopes are present, otherwise it skips that straight to rejection.local
parent
89b5071fde
commit
6c88ebfd4b
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue