{"action":"created","comment":{"url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/comments/127957474","pull_request_review_id":50587816,"id":127957474,"diff_hunk":"@@ -24,12 +40,25 @@ public class UserService : IUserService\n         /// </returns>\n         public async Task<User> GetAsync(int userId, string token, CancellationToken cancellationToken)\n         {\n-            return new User()\n+            var url = $\"{_apiUrl}/({MessagesEndpoints.GetUsersGetData}?user_ids={string.Join(\",\", userId)}&fields={DefaultUserFields.Value}&access_token={token}\";\n+            try\n             {\n-                FirstName = \"Russel\",\n-                LastName = \"Headley\",\n-                Photo = \"http://vk.com/images/camera_c.gif\"\n-            };\n+#if DEBUG\n+                _logger.Trace($\"Trying to get users.get\");\n+#endif\n+                var response = await _httpClient.GetAsync<VkApiResponse<User>>(url, cancellationToken);","path":"Cube.VKAPIClient/Implementations/UserService.cs","position":45,"original_position":45,"commit_id":"5291042333b384b2a85072854cb6521890d20e8d","original_commit_id":"5291042333b384b2a85072854cb6521890d20e8d","user":{"login":"dennee","id":14939117,"avatar_url":"https://avatars0.githubusercontent.com/u/14939117?v=4","gravatar_id":"","url":"https://api.github.com/users/dennee","html_url":"https://github.com/dennee","followers_url":"https://api.github.com/users/dennee/followers","following_url":"https://api.github.com/users/dennee/following{/other_user}","gists_url":"https://api.github.com/users/dennee/gists{/gist_id}","starred_url":"https://api.github.com/users/dennee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennee/subscriptions","organizations_url":"https://api.github.com/users/dennee/orgs","repos_url":"https://api.github.com/users/dennee/repos","events_url":"https://api.github.com/users/dennee/events{/privacy}","received_events_url":"https://api.github.com/users/dennee/received_events","type":"User","site_admin":false},"body":"VK API returns list of users when application sends request to `users.get`. You must receive `VkApiResponse<List<User>>` and return first item from collection.","created_at":"2017-07-18T12:16:52Z","updated_at":"2017-07-18T12:18:04Z","html_url":"https://github.com/Cube-Messenger/CubeMessenger/pull/1#discussion_r127957474","pull_request_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/comments/127957474"},"html":{"href":"https://github.com/Cube-Messenger/CubeMessenger/pull/1#discussion_r127957474"},"pull_request":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1","id":131060762,"html_url":"https://github.com/Cube-Messenger/CubeMessenger/pull/1","diff_url":"https://github.com/Cube-Messenger/CubeMessenger/pull/1.diff","patch_url":"https://github.com/Cube-Messenger/CubeMessenger/pull/1.patch","issue_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/1","number":1,"state":"open","locked":false,"title":"Cube 3 user service implementation","user":{"login":"xdivr","id":29736857,"avatar_url":"https://avatars1.githubusercontent.com/u/29736857?v=4","gravatar_id":"","url":"https://api.github.com/users/xdivr","html_url":"https://github.com/xdivr","followers_url":"https://api.github.com/users/xdivr/followers","following_url":"https://api.github.com/users/xdivr/following{/other_user}","gists_url":"https://api.github.com/users/xdivr/gists{/gist_id}","starred_url":"https://api.github.com/users/xdivr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdivr/subscriptions","organizations_url":"https://api.github.com/users/xdivr/orgs","repos_url":"https://api.github.com/users/xdivr/repos","events_url":"https://api.github.com/users/xdivr/events{/privacy}","received_events_url":"https://api.github.com/users/xdivr/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-18T11:11:25Z","updated_at":"2017-07-18T12:18:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f791629227757fd84011f34fa5d7ea36c42389e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/1/comments","statuses_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/statuses/5291042333b384b2a85072854cb6521890d20e8d","head":{"label":"Cube-Messenger:cube-3-user-service-implementation","ref":"cube-3-user-service-implementation","sha":"5291042333b384b2a85072854cb6521890d20e8d","user":{"login":"Cube-Messenger","id":29458758,"avatar_url":"https://avatars2.githubusercontent.com/u/29458758?v=4","gravatar_id":"","url":"https://api.github.com/users/Cube-Messenger","html_url":"https://github.com/Cube-Messenger","followers_url":"https://api.github.com/users/Cube-Messenger/followers","following_url":"https://api.github.com/users/Cube-Messenger/following{/other_user}","gists_url":"https://api.github.com/users/Cube-Messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Cube-Messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cube-Messenger/subscriptions","organizations_url":"https://api.github.com/users/Cube-Messenger/orgs","repos_url":"https://api.github.com/users/Cube-Messenger/repos","events_url":"https://api.github.com/users/Cube-Messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Cube-Messenger/received_events","type":"Organization","site_admin":false},"repo":{"id":94445010,"name":"CubeMessenger","full_name":"Cube-Messenger/CubeMessenger","owner":{"login":"Cube-Messenger","id":29458758,"avatar_url":"https://avatars2.githubusercontent.com/u/29458758?v=4","gravatar_id":"","url":"https://api.github.com/users/Cube-Messenger","html_url":"https://github.com/Cube-Messenger","followers_url":"https://api.github.com/users/Cube-Messenger/followers","following_url":"https://api.github.com/users/Cube-Messenger/following{/other_user}","gists_url":"https://api.github.com/users/Cube-Messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Cube-Messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cube-Messenger/subscriptions","organizations_url":"https://api.github.com/users/Cube-Messenger/orgs","repos_url":"https://api.github.com/users/Cube-Messenger/repos","events_url":"https://api.github.com/users/Cube-Messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Cube-Messenger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cube-Messenger/CubeMessenger","description":null,"fork":false,"url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger","forks_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/forks","keys_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/teams","hooks_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/hooks","issue_events_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/events{/number}","events_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/events","assignees_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/assignees{/user}","branches_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/branches{/branch}","tags_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/tags","blobs_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/statuses/{sha}","languages_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/languages","stargazers_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/stargazers","contributors_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/contributors","subscribers_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/subscribers","subscription_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/subscription","commits_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/contents/{+path}","compare_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/merges","archive_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/downloads","issues_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues{/number}","pulls_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls{/number}","milestones_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/milestones{/number}","notifications_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/labels{/name}","releases_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/releases{/id}","deployments_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/deployments","created_at":"2017-06-15T14:00:46Z","updated_at":"2017-06-21T07:09:44Z","pushed_at":"2017-07-18T11:11:25Z","git_url":"git://github.com/Cube-Messenger/CubeMessenger.git","ssh_url":"git@github.com:Cube-Messenger/CubeMessenger.git","clone_url":"https://github.com/Cube-Messenger/CubeMessenger.git","svn_url":"https://github.com/Cube-Messenger/CubeMessenger","homepage":null,"size":108,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Cube-Messenger:dev","ref":"dev","sha":"d597d743154e5f4c756cfd6ee65efc5d01d15714","user":{"login":"Cube-Messenger","id":29458758,"avatar_url":"https://avatars2.githubusercontent.com/u/29458758?v=4","gravatar_id":"","url":"https://api.github.com/users/Cube-Messenger","html_url":"https://github.com/Cube-Messenger","followers_url":"https://api.github.com/users/Cube-Messenger/followers","following_url":"https://api.github.com/users/Cube-Messenger/following{/other_user}","gists_url":"https://api.github.com/users/Cube-Messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Cube-Messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cube-Messenger/subscriptions","organizations_url":"https://api.github.com/users/Cube-Messenger/orgs","repos_url":"https://api.github.com/users/Cube-Messenger/repos","events_url":"https://api.github.com/users/Cube-Messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Cube-Messenger/received_events","type":"Organization","site_admin":false},"repo":{"id":94445010,"name":"CubeMessenger","full_name":"Cube-Messenger/CubeMessenger","owner":{"login":"Cube-Messenger","id":29458758,"avatar_url":"https://avatars2.githubusercontent.com/u/29458758?v=4","gravatar_id":"","url":"https://api.github.com/users/Cube-Messenger","html_url":"https://github.com/Cube-Messenger","followers_url":"https://api.github.com/users/Cube-Messenger/followers","following_url":"https://api.github.com/users/Cube-Messenger/following{/other_user}","gists_url":"https://api.github.com/users/Cube-Messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Cube-Messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cube-Messenger/subscriptions","organizations_url":"https://api.github.com/users/Cube-Messenger/orgs","repos_url":"https://api.github.com/users/Cube-Messenger/repos","events_url":"https://api.github.com/users/Cube-Messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Cube-Messenger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cube-Messenger/CubeMessenger","description":null,"fork":false,"url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger","forks_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/forks","keys_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/teams","hooks_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/hooks","issue_events_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/events{/number}","events_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/events","assignees_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/assignees{/user}","branches_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/branches{/branch}","tags_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/tags","blobs_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/statuses/{sha}","languages_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/languages","stargazers_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/stargazers","contributors_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/contributors","subscribers_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/subscribers","subscription_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/subscription","commits_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/contents/{+path}","compare_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/merges","archive_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/downloads","issues_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues{/number}","pulls_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls{/number}","milestones_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/milestones{/number}","notifications_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/labels{/name}","releases_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/releases{/id}","deployments_url":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/deployments","created_at":"2017-06-15T14:00:46Z","updated_at":"2017-06-21T07:09:44Z","pushed_at":"2017-07-18T11:11:25Z","git_url":"git://github.com/Cube-Messenger/CubeMessenger.git","ssh_url":"git@github.com:Cube-Messenger/CubeMessenger.git","clone_url":"https://github.com/Cube-Messenger/CubeMessenger.git","svn_url":"https://github.com/Cube-Messenger/CubeMessenger","homepage":null,"size":108,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1"},"html":{"href":"https://github.com/Cube-Messenger/CubeMessenger/pull/1"},"issue":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/1"},"comments":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Cube-Messenger/CubeMessenger/statuses/5291042333b384b2a85072854cb6521890d20e8d"}}}}
{"actor":{"display_login":"dennee"}}