{"action":"created","issue":{"url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/92","labels_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/92/comments","events_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/92/events","html_url":"https://github.com/lynndylanhurley/ng-token-auth/pull/92","id":54026163,"number":92,"title":"Add optional configuration object for update account","user":{"login":"sjke","id":3656780,"avatar_url":"https://avatars.githubusercontent.com/u/3656780?v=3","gravatar_id":"","url":"https://api.github.com/users/sjke","html_url":"https://github.com/sjke","followers_url":"https://api.github.com/users/sjke/followers","following_url":"https://api.github.com/users/sjke/following{/other_user}","gists_url":"https://api.github.com/users/sjke/gists{/gist_id}","starred_url":"https://api.github.com/users/sjke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjke/subscriptions","organizations_url":"https://api.github.com/users/sjke/orgs","repos_url":"https://api.github.com/users/sjke/repos","events_url":"https://api.github.com/users/sjke/events{/privacy}","received_events_url":"https://api.github.com/users/sjke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T07:12:58Z","updated_at":"2015-01-12T07:30:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/pulls/92","html_url":"https://github.com/lynndylanhurley/ng-token-auth/pull/92","diff_url":"https://github.com/lynndylanhurley/ng-token-auth/pull/92.diff","patch_url":"https://github.com/lynndylanhurley/ng-token-auth/pull/92.patch"},"body":"see on [$http.put](https://docs.angularjs.org/api/ng/service/$http#put)"},"comment":{"url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/comments/69536410","html_url":"https://github.com/lynndylanhurley/ng-token-auth/pull/92#issuecomment-69536410","issue_url":"https://api.github.com/repos/lynndylanhurley/ng-token-auth/issues/92","id":69536410,"user":{"login":"lynndylanhurley","id":468037,"avatar_url":"https://avatars.githubusercontent.com/u/468037?v=3","gravatar_id":"","url":"https://api.github.com/users/lynndylanhurley","html_url":"https://github.com/lynndylanhurley","followers_url":"https://api.github.com/users/lynndylanhurley/followers","following_url":"https://api.github.com/users/lynndylanhurley/following{/other_user}","gists_url":"https://api.github.com/users/lynndylanhurley/gists{/gist_id}","starred_url":"https://api.github.com/users/lynndylanhurley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynndylanhurley/subscriptions","organizations_url":"https://api.github.com/users/lynndylanhurley/orgs","repos_url":"https://api.github.com/users/lynndylanhurley/repos","events_url":"https://api.github.com/users/lynndylanhurley/events{/privacy}","received_events_url":"https://api.github.com/users/lynndylanhurley/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T07:30:18Z","updated_at":"2015-01-12T07:30:18Z","body":"Thanks @sjke - take a look at the conversation from #60 when you get a chance.\r\n\r\nIn short:\r\n\r\n* [Angularjs interceptors](https://docs.angularjs.org/api/ng/service/$http#interceptors) already cover this functionality.\r\n* If the `config` argument is made available to the `updateAccount` method, it will need to be made available to all of the other methods as well (and tests will need to be written, etc.)."}}