{"action":"created","comment":{"url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments/66959000","id":66959000,"diff_hunk":"@@ -0,0 +1,42 @@\n+const NOTE_URL = 'note';\n+let currentUserId = null;\n+let _HttpService, _UserService, _LoggerService, _$q;\n+\n+export default class NoteService {\n+   constructor(HttpService, UserService, LoggerService, $q) {\n+      'ngInject';\n+      _HttpService = HttpService;\n+      _UserService = UserService;\n+      _LoggerService = LoggerService;\n+      _$q = $q;\n+   }\n+\n+   save(entity) {\n+      if (entity.id) {\n+         return _HttpService.put(`${NOTE_URL}/${entity.id}`, entity);\n+      } else {\n+         return _UserService.getUserById(1).then((user) => {","path":"src/wwwroot/app/services/NoteService.js","position":18,"original_position":18,"commit_id":"805ad4accb4b1f48bb10cb3ee62e868af78819a6","original_commit_id":"805ad4accb4b1f48bb10cb3ee62e868af78819a6","user":{"login":"SmolenskiyK","id":13680574,"avatar_url":"https://avatars.githubusercontent.com/u/13680574?v=3","gravatar_id":"","url":"https://api.github.com/users/SmolenskiyK","html_url":"https://github.com/SmolenskiyK","followers_url":"https://api.github.com/users/SmolenskiyK/followers","following_url":"https://api.github.com/users/SmolenskiyK/following{/other_user}","gists_url":"https://api.github.com/users/SmolenskiyK/gists{/gist_id}","starred_url":"https://api.github.com/users/SmolenskiyK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SmolenskiyK/subscriptions","organizations_url":"https://api.github.com/users/SmolenskiyK/orgs","repos_url":"https://api.github.com/users/SmolenskiyK/repos","events_url":"https://api.github.com/users/SmolenskiyK/events{/privacy}","received_events_url":"https://api.github.com/users/SmolenskiyK/received_events","type":"User","site_admin":false},"body":"id 1?","created_at":"2016-06-14T12:24:26Z","updated_at":"2016-06-14T12:24:26Z","html_url":"https://github.com/kulish-alina/HR_Project/pull/197#discussion_r66959000","pull_request_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197","_links":{"self":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments/66959000"},"html":{"href":"https://github.com/kulish-alina/HR_Project/pull/197#discussion_r66959000"},"pull_request":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197"}}},"pull_request":{"url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197","id":73728671,"html_url":"https://github.com/kulish-alina/HR_Project/pull/197","diff_url":"https://github.com/kulish-alina/HR_Project/pull/197.diff","patch_url":"https://github.com/kulish-alina/HR_Project/pull/197.patch","issue_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/197","number":197,"state":"open","locked":false,"title":"Feature/comments directive","user":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"body":"#30, #181 ","created_at":"2016-06-14T12:13:56Z","updated_at":"2016-06-14T12:24:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"134852662a9206e21c800b35be40d15351863adf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197/commits","review_comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197/comments","review_comment_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/197/comments","statuses_url":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/805ad4accb4b1f48bb10cb3ee62e868af78819a6","head":{"label":"kulish-alina:feature/comments-directive","ref":"feature/comments-directive","sha":"805ad4accb4b1f48bb10cb3ee62e868af78819a6","user":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"repo":{"id":49066127,"name":"HR_Project","full_name":"kulish-alina/HR_Project","owner":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kulish-alina/HR_Project","description":"","fork":false,"url":"https://api.github.com/repos/kulish-alina/HR_Project","forks_url":"https://api.github.com/repos/kulish-alina/HR_Project/forks","keys_url":"https://api.github.com/repos/kulish-alina/HR_Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kulish-alina/HR_Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kulish-alina/HR_Project/teams","hooks_url":"https://api.github.com/repos/kulish-alina/HR_Project/hooks","issue_events_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/events{/number}","events_url":"https://api.github.com/repos/kulish-alina/HR_Project/events","assignees_url":"https://api.github.com/repos/kulish-alina/HR_Project/assignees{/user}","branches_url":"https://api.github.com/repos/kulish-alina/HR_Project/branches{/branch}","tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/tags","blobs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/{sha}","languages_url":"https://api.github.com/repos/kulish-alina/HR_Project/languages","stargazers_url":"https://api.github.com/repos/kulish-alina/HR_Project/stargazers","contributors_url":"https://api.github.com/repos/kulish-alina/HR_Project/contributors","subscribers_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscribers","subscription_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscription","commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/kulish-alina/HR_Project/contents/{+path}","compare_url":"https://api.github.com/repos/kulish-alina/HR_Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kulish-alina/HR_Project/merges","archive_url":"https://api.github.com/repos/kulish-alina/HR_Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kulish-alina/HR_Project/downloads","issues_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues{/number}","pulls_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls{/number}","milestones_url":"https://api.github.com/repos/kulish-alina/HR_Project/milestones{/number}","notifications_url":"https://api.github.com/repos/kulish-alina/HR_Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kulish-alina/HR_Project/labels{/name}","releases_url":"https://api.github.com/repos/kulish-alina/HR_Project/releases{/id}","deployments_url":"https://api.github.com/repos/kulish-alina/HR_Project/deployments","created_at":"2016-01-05T13:00:58Z","updated_at":"2016-02-11T11:25:01Z","pushed_at":"2016-06-14T12:13:56Z","git_url":"git://github.com/kulish-alina/HR_Project.git","ssh_url":"git@github.com:kulish-alina/HR_Project.git","clone_url":"https://github.com/kulish-alina/HR_Project.git","svn_url":"https://github.com/kulish-alina/HR_Project","homepage":null,"size":18097,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":27,"forks":6,"open_issues":27,"watchers":2,"default_branch":"master"}},"base":{"label":"kulish-alina:new_dev_server","ref":"new_dev_server","sha":"0bffcd6083a5e6e2226640be60486c4786cc1617","user":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"repo":{"id":49066127,"name":"HR_Project","full_name":"kulish-alina/HR_Project","owner":{"login":"kulish-alina","id":10714587,"avatar_url":"https://avatars.githubusercontent.com/u/10714587?v=3","gravatar_id":"","url":"https://api.github.com/users/kulish-alina","html_url":"https://github.com/kulish-alina","followers_url":"https://api.github.com/users/kulish-alina/followers","following_url":"https://api.github.com/users/kulish-alina/following{/other_user}","gists_url":"https://api.github.com/users/kulish-alina/gists{/gist_id}","starred_url":"https://api.github.com/users/kulish-alina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kulish-alina/subscriptions","organizations_url":"https://api.github.com/users/kulish-alina/orgs","repos_url":"https://api.github.com/users/kulish-alina/repos","events_url":"https://api.github.com/users/kulish-alina/events{/privacy}","received_events_url":"https://api.github.com/users/kulish-alina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kulish-alina/HR_Project","description":"","fork":false,"url":"https://api.github.com/repos/kulish-alina/HR_Project","forks_url":"https://api.github.com/repos/kulish-alina/HR_Project/forks","keys_url":"https://api.github.com/repos/kulish-alina/HR_Project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kulish-alina/HR_Project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kulish-alina/HR_Project/teams","hooks_url":"https://api.github.com/repos/kulish-alina/HR_Project/hooks","issue_events_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/events{/number}","events_url":"https://api.github.com/repos/kulish-alina/HR_Project/events","assignees_url":"https://api.github.com/repos/kulish-alina/HR_Project/assignees{/user}","branches_url":"https://api.github.com/repos/kulish-alina/HR_Project/branches{/branch}","tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/tags","blobs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/refs{/sha}","trees_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/{sha}","languages_url":"https://api.github.com/repos/kulish-alina/HR_Project/languages","stargazers_url":"https://api.github.com/repos/kulish-alina/HR_Project/stargazers","contributors_url":"https://api.github.com/repos/kulish-alina/HR_Project/contributors","subscribers_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscribers","subscription_url":"https://api.github.com/repos/kulish-alina/HR_Project/subscription","commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/commits{/sha}","git_commits_url":"https://api.github.com/repos/kulish-alina/HR_Project/git/commits{/sha}","comments_url":"https://api.github.com/repos/kulish-alina/HR_Project/comments{/number}","issue_comment_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues/comments{/number}","contents_url":"https://api.github.com/repos/kulish-alina/HR_Project/contents/{+path}","compare_url":"https://api.github.com/repos/kulish-alina/HR_Project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kulish-alina/HR_Project/merges","archive_url":"https://api.github.com/repos/kulish-alina/HR_Project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kulish-alina/HR_Project/downloads","issues_url":"https://api.github.com/repos/kulish-alina/HR_Project/issues{/number}","pulls_url":"https://api.github.com/repos/kulish-alina/HR_Project/pulls{/number}","milestones_url":"https://api.github.com/repos/kulish-alina/HR_Project/milestones{/number}","notifications_url":"https://api.github.com/repos/kulish-alina/HR_Project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kulish-alina/HR_Project/labels{/name}","releases_url":"https://api.github.com/repos/kulish-alina/HR_Project/releases{/id}","deployments_url":"https://api.github.com/repos/kulish-alina/HR_Project/deployments","created_at":"2016-01-05T13:00:58Z","updated_at":"2016-02-11T11:25:01Z","pushed_at":"2016-06-14T12:13:56Z","git_url":"git://github.com/kulish-alina/HR_Project.git","ssh_url":"git@github.com:kulish-alina/HR_Project.git","clone_url":"https://github.com/kulish-alina/HR_Project.git","svn_url":"https://github.com/kulish-alina/HR_Project","homepage":null,"size":18097,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":27,"forks":6,"open_issues":27,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197"},"html":{"href":"https://github.com/kulish-alina/HR_Project/pull/197"},"issue":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/issues/197"},"comments":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/kulish-alina/HR_Project/statuses/805ad4accb4b1f48bb10cb3ee62e868af78819a6"}}}}
{"actor":{"display_login":"SmolenskiyK"}}