Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Allow global options to be applied to each request
Browse files Browse the repository at this point in the history
  • Loading branch information
brentm5 committed Dec 23, 2015
1 parent bde90ca commit 5015ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/partials/resources.js.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function handleRequest (client, path, method, body, options) {
reqOpts = options.user.sign(reqOpts)
}

return client.request(reqOpts)
return client.request(extend(options, reqOpts))
}

{{#each allResources}}
Expand Down

0 comments on commit 5015ebf

Please sign in to comment.