Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix headerToToken value check from null to undefined
`headerToToken` returns `Promise<string | undefined>`. However, the existing check assessed `headerToToken().then(value => value === null ? something : somethingElse)`. This should never be true. Instead, this check is replaced with `!value`.
- Loading branch information