Skip to content

Commit

Permalink
fix: lowercase accountid for Accounts#get
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-scherzinger committed Feb 8, 2017
1 parent 444bbb0 commit c9cc64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Accounts.js
Expand Up @@ -95,7 +95,7 @@ export default class Accounts extends Core {
.then(() => {
const request = this.newRequest()
.follow('ec:accounts/options')
.withTemplateParameters({ accountID });
.withTemplateParameters(optionsToQuery({ accountid: accountID }));
return get(this.environment, request);
})
.then(([res, traversal]) => new AccountResource(res, traversal));
Expand Down

0 comments on commit c9cc64c

Please sign in to comment.