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

Fix options for GET and DELETE #41

Merged
merged 1 commit into from
Mar 2, 2016
Merged

Conversation

besuhoff
Copy link
Contributor

options object get lost during GET/DELETE call so, particularly, I can't pass headers in those method calls

options object get lost during GET/DELETE call so, particularly, I can't pass headers in those method calls
@@ -144,7 +144,7 @@ angular.module('angular-hal', [])
return $q.all(link.map(function (link) {
if (method !== 'GET') throw 'method is not supported for arrays';

return callLink(method, link, params, data);
return callLink(method, link, params, data, extraOptions);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long.

@maennchen maennchen added the bug label Mar 2, 2016
@maennchen maennchen added this to the v0.1.6 milestone Mar 2, 2016
maennchen added a commit that referenced this pull request Mar 2, 2016
Fix options for GET and DELETE
@maennchen maennchen merged commit 2e62d80 into LuvDaSun:master Mar 2, 2016
@maennchen maennchen self-assigned this Jul 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants