Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create options.headers if not provided #17

Merged
merged 1 commit into from
Dec 6, 2016
Merged

Create options.headers if not provided #17

merged 1 commit into from
Dec 6, 2016

Conversation

maur1th
Copy link
Contributor

@maur1th maur1th commented Mar 29, 2016

Avoids having to add headers: {} when calling the constructor.

const batch = new Batchelor({
  'uri':'https://www.googleapis.com',
  'auth': { 'bearer': token },
  'headers': {}
})

@jamesmhaley jamesmhaley merged commit 19c598c into mixmaxhq:master Dec 6, 2016
@bradvogel
Copy link
Collaborator

Published as 2.0.2 - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants