{"action":"created","comment":{"url":"https://api.github.com/repos/Availity/availity-angular/pulls/comments/39421679","id":39421679,"diff_hunk":"@@ -132,7 +132,7 @@\n             // if service has a callback then call it\n             // var response = self._createResponse(data, status, headers, _config);\n             if(afterCallback) {\n-              successResponse = afterCallback.call(self, successResponse);\n+              successResponse = afterCallback.call(self, successResponse, config.data);","path":"lib/core/api/api-factory.js","position":5,"original_position":5,"commit_id":"e00eae7eb2f4c26b4c3fcf4fca6181875be64afe","original_commit_id":"e00eae7eb2f4c26b4c3fcf4fca6181875be64afe","user":{"login":"ivern","id":15197,"avatar_url":"https://avatars.githubusercontent.com/u/15197?v=3","gravatar_id":"","url":"https://api.github.com/users/ivern","html_url":"https://github.com/ivern","followers_url":"https://api.github.com/users/ivern/followers","following_url":"https://api.github.com/users/ivern/following{/other_user}","gists_url":"https://api.github.com/users/ivern/gists{/gist_id}","starred_url":"https://api.github.com/users/ivern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivern/subscriptions","organizations_url":"https://api.github.com/users/ivern/orgs","repos_url":"https://api.github.com/users/ivern/repos","events_url":"https://api.github.com/users/ivern/events{/privacy}","received_events_url":"https://api.github.com/users/ivern/received_events","type":"User","site_admin":false},"body":"This is to support the use case of needing to update the local model with the id returned by the create API.","created_at":"2015-09-14T17:31:40Z","updated_at":"2015-09-14T17:31:40Z","html_url":"https://github.com/Availity/availity-angular/pull/123#discussion_r39421679","pull_request_url":"https://api.github.com/repos/Availity/availity-angular/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/Availity/availity-angular/pulls/comments/39421679"},"html":{"href":"https://github.com/Availity/availity-angular/pull/123#discussion_r39421679"},"pull_request":{"href":"https://api.github.com/repos/Availity/availity-angular/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/Availity/availity-angular/pulls/123","id":44928866,"html_url":"https://github.com/Availity/availity-angular/pull/123","diff_url":"https://github.com/Availity/availity-angular/pull/123.diff","patch_url":"https://github.com/Availity/availity-angular/pull/123.patch","issue_url":"https://api.github.com/repos/Availity/availity-angular/issues/123","number":123,"state":"open","locked":false,"title":"Fixed beforeCreate signature, afterCallback now gets data as a third …","user":{"login":"ivern","id":15197,"avatar_url":"https://avatars.githubusercontent.com/u/15197?v=3","gravatar_id":"","url":"https://api.github.com/users/ivern","html_url":"https://github.com/ivern","followers_url":"https://api.github.com/users/ivern/followers","following_url":"https://api.github.com/users/ivern/following{/other_user}","gists_url":"https://api.github.com/users/ivern/gists{/gist_id}","starred_url":"https://api.github.com/users/ivern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivern/subscriptions","organizations_url":"https://api.github.com/users/ivern/orgs","repos_url":"https://api.github.com/users/ivern/repos","events_url":"https://api.github.com/users/ivern/events{/privacy}","received_events_url":"https://api.github.com/users/ivern/received_events","type":"User","site_admin":false},"body":"…parameter","created_at":"2015-09-14T13:21:43Z","updated_at":"2015-09-14T17:31:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3278a5da51949aea077c6f85397faf9e48e410fd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Availity/availity-angular/pulls/123/commits","review_comments_url":"https://api.github.com/repos/Availity/availity-angular/pulls/123/comments","review_comment_url":"https://api.github.com/repos/Availity/availity-angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Availity/availity-angular/issues/123/comments","statuses_url":"https://api.github.com/repos/Availity/availity-angular/statuses/e00eae7eb2f4c26b4c3fcf4fca6181875be64afe","head":{"label":"Availity:ivern_api_factory_callbacks","ref":"ivern_api_factory_callbacks","sha":"e00eae7eb2f4c26b4c3fcf4fca6181875be64afe","user":{"login":"Availity","id":329985,"avatar_url":"https://avatars.githubusercontent.com/u/329985?v=3","gravatar_id":"","url":"https://api.github.com/users/Availity","html_url":"https://github.com/Availity","followers_url":"https://api.github.com/users/Availity/followers","following_url":"https://api.github.com/users/Availity/following{/other_user}","gists_url":"https://api.github.com/users/Availity/gists{/gist_id}","starred_url":"https://api.github.com/users/Availity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Availity/subscriptions","organizations_url":"https://api.github.com/users/Availity/orgs","repos_url":"https://api.github.com/users/Availity/repos","events_url":"https://api.github.com/users/Availity/events{/privacy}","received_events_url":"https://api.github.com/users/Availity/received_events","type":"Organization","site_admin":false},"repo":{"id":30903495,"name":"availity-angular","full_name":"Availity/availity-angular","owner":{"login":"Availity","id":329985,"avatar_url":"https://avatars.githubusercontent.com/u/329985?v=3","gravatar_id":"","url":"https://api.github.com/users/Availity","html_url":"https://github.com/Availity","followers_url":"https://api.github.com/users/Availity/followers","following_url":"https://api.github.com/users/Availity/following{/other_user}","gists_url":"https://api.github.com/users/Availity/gists{/gist_id}","starred_url":"https://api.github.com/users/Availity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Availity/subscriptions","organizations_url":"https://api.github.com/users/Availity/orgs","repos_url":"https://api.github.com/users/Availity/repos","events_url":"https://api.github.com/users/Availity/events{/privacy}","received_events_url":"https://api.github.com/users/Availity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Availity/availity-angular","description":"Availity Angular SDK","fork":false,"url":"https://api.github.com/repos/Availity/availity-angular","forks_url":"https://api.github.com/repos/Availity/availity-angular/forks","keys_url":"https://api.github.com/repos/Availity/availity-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Availity/availity-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Availity/availity-angular/teams","hooks_url":"https://api.github.com/repos/Availity/availity-angular/hooks","issue_events_url":"https://api.github.com/repos/Availity/availity-angular/issues/events{/number}","events_url":"https://api.github.com/repos/Availity/availity-angular/events","assignees_url":"https://api.github.com/repos/Availity/availity-angular/assignees{/user}","branches_url":"https://api.github.com/repos/Availity/availity-angular/branches{/branch}","tags_url":"https://api.github.com/repos/Availity/availity-angular/tags","blobs_url":"https://api.github.com/repos/Availity/availity-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Availity/availity-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Availity/availity-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/Availity/availity-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Availity/availity-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/Availity/availity-angular/languages","stargazers_url":"https://api.github.com/repos/Availity/availity-angular/stargazers","contributors_url":"https://api.github.com/repos/Availity/availity-angular/contributors","subscribers_url":"https://api.github.com/repos/Availity/availity-angular/subscribers","subscription_url":"https://api.github.com/repos/Availity/availity-angular/subscription","commits_url":"https://api.github.com/repos/Availity/availity-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/Availity/availity-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/Availity/availity-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/Availity/availity-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/Availity/availity-angular/contents/{+path}","compare_url":"https://api.github.com/repos/Availity/availity-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Availity/availity-angular/merges","archive_url":"https://api.github.com/repos/Availity/availity-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Availity/availity-angular/downloads","issues_url":"https://api.github.com/repos/Availity/availity-angular/issues{/number}","pulls_url":"https://api.github.com/repos/Availity/availity-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/Availity/availity-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/Availity/availity-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Availity/availity-angular/labels{/name}","releases_url":"https://api.github.com/repos/Availity/availity-angular/releases{/id}","created_at":"2015-02-17T05:07:01Z","updated_at":"2015-08-08T14:57:03Z","pushed_at":"2015-09-14T17:29:47Z","git_url":"git://github.com/Availity/availity-angular.git","ssh_url":"git@github.com:Availity/availity-angular.git","clone_url":"https://github.com/Availity/availity-angular.git","svn_url":"https://github.com/Availity/availity-angular","homepage":null,"size":3659,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":13,"forks":5,"open_issues":13,"watchers":4,"default_branch":"master"}},"base":{"label":"Availity:develop","ref":"develop","sha":"e511daec52ff8fd1e9374aa259e471baceaf8c2b","user":{"login":"Availity","id":329985,"avatar_url":"https://avatars.githubusercontent.com/u/329985?v=3","gravatar_id":"","url":"https://api.github.com/users/Availity","html_url":"https://github.com/Availity","followers_url":"https://api.github.com/users/Availity/followers","following_url":"https://api.github.com/users/Availity/following{/other_user}","gists_url":"https://api.github.com/users/Availity/gists{/gist_id}","starred_url":"https://api.github.com/users/Availity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Availity/subscriptions","organizations_url":"https://api.github.com/users/Availity/orgs","repos_url":"https://api.github.com/users/Availity/repos","events_url":"https://api.github.com/users/Availity/events{/privacy}","received_events_url":"https://api.github.com/users/Availity/received_events","type":"Organization","site_admin":false},"repo":{"id":30903495,"name":"availity-angular","full_name":"Availity/availity-angular","owner":{"login":"Availity","id":329985,"avatar_url":"https://avatars.githubusercontent.com/u/329985?v=3","gravatar_id":"","url":"https://api.github.com/users/Availity","html_url":"https://github.com/Availity","followers_url":"https://api.github.com/users/Availity/followers","following_url":"https://api.github.com/users/Availity/following{/other_user}","gists_url":"https://api.github.com/users/Availity/gists{/gist_id}","starred_url":"https://api.github.com/users/Availity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Availity/subscriptions","organizations_url":"https://api.github.com/users/Availity/orgs","repos_url":"https://api.github.com/users/Availity/repos","events_url":"https://api.github.com/users/Availity/events{/privacy}","received_events_url":"https://api.github.com/users/Availity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Availity/availity-angular","description":"Availity Angular SDK","fork":false,"url":"https://api.github.com/repos/Availity/availity-angular","forks_url":"https://api.github.com/repos/Availity/availity-angular/forks","keys_url":"https://api.github.com/repos/Availity/availity-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Availity/availity-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Availity/availity-angular/teams","hooks_url":"https://api.github.com/repos/Availity/availity-angular/hooks","issue_events_url":"https://api.github.com/repos/Availity/availity-angular/issues/events{/number}","events_url":"https://api.github.com/repos/Availity/availity-angular/events","assignees_url":"https://api.github.com/repos/Availity/availity-angular/assignees{/user}","branches_url":"https://api.github.com/repos/Availity/availity-angular/branches{/branch}","tags_url":"https://api.github.com/repos/Availity/availity-angular/tags","blobs_url":"https://api.github.com/repos/Availity/availity-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Availity/availity-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Availity/availity-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/Availity/availity-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Availity/availity-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/Availity/availity-angular/languages","stargazers_url":"https://api.github.com/repos/Availity/availity-angular/stargazers","contributors_url":"https://api.github.com/repos/Availity/availity-angular/contributors","subscribers_url":"https://api.github.com/repos/Availity/availity-angular/subscribers","subscription_url":"https://api.github.com/repos/Availity/availity-angular/subscription","commits_url":"https://api.github.com/repos/Availity/availity-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/Availity/availity-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/Availity/availity-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/Availity/availity-angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/Availity/availity-angular/contents/{+path}","compare_url":"https://api.github.com/repos/Availity/availity-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Availity/availity-angular/merges","archive_url":"https://api.github.com/repos/Availity/availity-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Availity/availity-angular/downloads","issues_url":"https://api.github.com/repos/Availity/availity-angular/issues{/number}","pulls_url":"https://api.github.com/repos/Availity/availity-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/Availity/availity-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/Availity/availity-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Availity/availity-angular/labels{/name}","releases_url":"https://api.github.com/repos/Availity/availity-angular/releases{/id}","created_at":"2015-02-17T05:07:01Z","updated_at":"2015-08-08T14:57:03Z","pushed_at":"2015-09-14T17:29:47Z","git_url":"git://github.com/Availity/availity-angular.git","ssh_url":"git@github.com:Availity/availity-angular.git","clone_url":"https://github.com/Availity/availity-angular.git","svn_url":"https://github.com/Availity/availity-angular","homepage":null,"size":3659,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":13,"forks":5,"open_issues":13,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Availity/availity-angular/pulls/123"},"html":{"href":"https://github.com/Availity/availity-angular/pull/123"},"issue":{"href":"https://api.github.com/repos/Availity/availity-angular/issues/123"},"comments":{"href":"https://api.github.com/repos/Availity/availity-angular/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/Availity/availity-angular/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/Availity/availity-angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Availity/availity-angular/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/Availity/availity-angular/statuses/e00eae7eb2f4c26b4c3fcf4fca6181875be64afe"}}}}