Skip to content

Commit

Permalink
fix(api-core): spread args for aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSharpieOne committed Aug 2, 2018
1 parent 26aef32 commit 5c7516b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api-core/src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export default class AvApi {
}

put(...args) {
return this.update(args);
return this.update(...args);
}

// delete request
Expand All @@ -333,6 +333,6 @@ export default class AvApi {
}

delete(...args) {
return this.remove(args);
return this.remove(...args);
}
}

0 comments on commit 5c7516b

Please sign in to comment.