-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the fetch wrapper more compatible with fetch
(closes #117) This makes `oauth.fetch` work exactly like regular `fetch`. Also adds an `authenticateAsync` function that works just like `authenticate`, but wraps in a Promise for chaining.
- Loading branch information
Showing
6 changed files
with
175 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
was it intentional to wrap the
Error
objects fromerr
inside another layer ofError
here?