{"action":"created","comment":{"url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/comments/146445454","pull_request_review_id":71387670,"id":146445454,"diff_hunk":"@@ -0,0 +1,70 @@\n+const consService = require('../services/conversation-service');\n+\n+const { constants, helpers } = global;\n+\n+exports.getConversations = (req, res) => {\n+  if (!req.body) {\n+    helpers.sendResponse(res, constants.response.paramNotEnough);\n+  } else {\n+    const reqBody = req.body;","path":"controllers/conversation-controller.js","position":9,"original_position":9,"commit_id":"647dac470f05f595dc2cd197466009285fe0aa0d","original_commit_id":"647dac470f05f595dc2cd197466009285fe0aa0d","user":{"login":"Nguyen-Thanh-Tung","id":16491298,"avatar_url":"https://avatars3.githubusercontent.com/u/16491298?v=4","gravatar_id":"","url":"https://api.github.com/users/Nguyen-Thanh-Tung","html_url":"https://github.com/Nguyen-Thanh-Tung","followers_url":"https://api.github.com/users/Nguyen-Thanh-Tung/followers","following_url":"https://api.github.com/users/Nguyen-Thanh-Tung/following{/other_user}","gists_url":"https://api.github.com/users/Nguyen-Thanh-Tung/gists{/gist_id}","starred_url":"https://api.github.com/users/Nguyen-Thanh-Tung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nguyen-Thanh-Tung/subscriptions","organizations_url":"https://api.github.com/users/Nguyen-Thanh-Tung/orgs","repos_url":"https://api.github.com/users/Nguyen-Thanh-Tung/repos","events_url":"https://api.github.com/users/Nguyen-Thanh-Tung/events{/privacy}","received_events_url":"https://api.github.com/users/Nguyen-Thanh-Tung/received_events","type":"User","site_admin":false},"body":"t nghĩ cần check param xem có các trường bắt buộc là count với index chưa, có đúng kiểu chưa đã rồi mới xét value @tonquangtu ","created_at":"2017-10-24T03:24:30Z","updated_at":"2017-10-24T03:40:01Z","html_url":"https://github.com/tonquangtu/MokiServer/pull/44#discussion_r146445454","pull_request_url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/comments/146445454"},"html":{"href":"https://github.com/tonquangtu/MokiServer/pull/44#discussion_r146445454"},"pull_request":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44","id":148285526,"html_url":"https://github.com/tonquangtu/MokiServer/pull/44","diff_url":"https://github.com/tonquangtu/MokiServer/pull/44.diff","patch_url":"https://github.com/tonquangtu/MokiServer/pull/44.patch","issue_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues/44","number":44,"state":"open","locked":false,"title":"Feature/chat","user":{"login":"tonquangtu","id":17746928,"avatar_url":"https://avatars3.githubusercontent.com/u/17746928?v=4","gravatar_id":"","url":"https://api.github.com/users/tonquangtu","html_url":"https://github.com/tonquangtu","followers_url":"https://api.github.com/users/tonquangtu/followers","following_url":"https://api.github.com/users/tonquangtu/following{/other_user}","gists_url":"https://api.github.com/users/tonquangtu/gists{/gist_id}","starred_url":"https://api.github.com/users/tonquangtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonquangtu/subscriptions","organizations_url":"https://api.github.com/users/tonquangtu/orgs","repos_url":"https://api.github.com/users/tonquangtu/repos","events_url":"https://api.github.com/users/tonquangtu/events{/privacy}","received_events_url":"https://api.github.com/users/tonquangtu/received_events","type":"User","site_admin":false},"body":" get conversation list\r\nget conversation detail\r\nset conversation\r\n\r\nfix bug for logger each request http","created_at":"2017-10-24T02:50:00Z","updated_at":"2017-10-24T03:40:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c4757072780faa8f0d6278d312151bed4d5fd94","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44/commits","review_comments_url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44/comments","review_comment_url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues/44/comments","statuses_url":"https://api.github.com/repos/tonquangtu/MokiServer/statuses/647dac470f05f595dc2cd197466009285fe0aa0d","head":{"label":"tonquangtu:feature/chat","ref":"feature/chat","sha":"647dac470f05f595dc2cd197466009285fe0aa0d","user":{"login":"tonquangtu","id":17746928,"avatar_url":"https://avatars3.githubusercontent.com/u/17746928?v=4","gravatar_id":"","url":"https://api.github.com/users/tonquangtu","html_url":"https://github.com/tonquangtu","followers_url":"https://api.github.com/users/tonquangtu/followers","following_url":"https://api.github.com/users/tonquangtu/following{/other_user}","gists_url":"https://api.github.com/users/tonquangtu/gists{/gist_id}","starred_url":"https://api.github.com/users/tonquangtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonquangtu/subscriptions","organizations_url":"https://api.github.com/users/tonquangtu/orgs","repos_url":"https://api.github.com/users/tonquangtu/repos","events_url":"https://api.github.com/users/tonquangtu/events{/privacy}","received_events_url":"https://api.github.com/users/tonquangtu/received_events","type":"User","site_admin":false},"repo":{"id":104316366,"name":"MokiServer","full_name":"tonquangtu/MokiServer","owner":{"login":"tonquangtu","id":17746928,"avatar_url":"https://avatars3.githubusercontent.com/u/17746928?v=4","gravatar_id":"","url":"https://api.github.com/users/tonquangtu","html_url":"https://github.com/tonquangtu","followers_url":"https://api.github.com/users/tonquangtu/followers","following_url":"https://api.github.com/users/tonquangtu/following{/other_user}","gists_url":"https://api.github.com/users/tonquangtu/gists{/gist_id}","starred_url":"https://api.github.com/users/tonquangtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonquangtu/subscriptions","organizations_url":"https://api.github.com/users/tonquangtu/orgs","repos_url":"https://api.github.com/users/tonquangtu/repos","events_url":"https://api.github.com/users/tonquangtu/events{/privacy}","received_events_url":"https://api.github.com/users/tonquangtu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonquangtu/MokiServer","description":null,"fork":false,"url":"https://api.github.com/repos/tonquangtu/MokiServer","forks_url":"https://api.github.com/repos/tonquangtu/MokiServer/forks","keys_url":"https://api.github.com/repos/tonquangtu/MokiServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonquangtu/MokiServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonquangtu/MokiServer/teams","hooks_url":"https://api.github.com/repos/tonquangtu/MokiServer/hooks","issue_events_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues/events{/number}","events_url":"https://api.github.com/repos/tonquangtu/MokiServer/events","assignees_url":"https://api.github.com/repos/tonquangtu/MokiServer/assignees{/user}","branches_url":"https://api.github.com/repos/tonquangtu/MokiServer/branches{/branch}","tags_url":"https://api.github.com/repos/tonquangtu/MokiServer/tags","blobs_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonquangtu/MokiServer/statuses/{sha}","languages_url":"https://api.github.com/repos/tonquangtu/MokiServer/languages","stargazers_url":"https://api.github.com/repos/tonquangtu/MokiServer/stargazers","contributors_url":"https://api.github.com/repos/tonquangtu/MokiServer/contributors","subscribers_url":"https://api.github.com/repos/tonquangtu/MokiServer/subscribers","subscription_url":"https://api.github.com/repos/tonquangtu/MokiServer/subscription","commits_url":"https://api.github.com/repos/tonquangtu/MokiServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonquangtu/MokiServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonquangtu/MokiServer/contents/{+path}","compare_url":"https://api.github.com/repos/tonquangtu/MokiServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonquangtu/MokiServer/merges","archive_url":"https://api.github.com/repos/tonquangtu/MokiServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonquangtu/MokiServer/downloads","issues_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues{/number}","pulls_url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls{/number}","milestones_url":"https://api.github.com/repos/tonquangtu/MokiServer/milestones{/number}","notifications_url":"https://api.github.com/repos/tonquangtu/MokiServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonquangtu/MokiServer/labels{/name}","releases_url":"https://api.github.com/repos/tonquangtu/MokiServer/releases{/id}","deployments_url":"https://api.github.com/repos/tonquangtu/MokiServer/deployments","created_at":"2017-09-21T07:34:17Z","updated_at":"2017-10-15T06:39:50Z","pushed_at":"2017-10-24T02:50:01Z","git_url":"git://github.com/tonquangtu/MokiServer.git","ssh_url":"git@github.com:tonquangtu/MokiServer.git","clone_url":"https://github.com/tonquangtu/MokiServer.git","svn_url":"https://github.com/tonquangtu/MokiServer","homepage":null,"size":230,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"tonquangtu:master","ref":"master","sha":"7348d7815d57d7b635caeba373a18552d5152056","user":{"login":"tonquangtu","id":17746928,"avatar_url":"https://avatars3.githubusercontent.com/u/17746928?v=4","gravatar_id":"","url":"https://api.github.com/users/tonquangtu","html_url":"https://github.com/tonquangtu","followers_url":"https://api.github.com/users/tonquangtu/followers","following_url":"https://api.github.com/users/tonquangtu/following{/other_user}","gists_url":"https://api.github.com/users/tonquangtu/gists{/gist_id}","starred_url":"https://api.github.com/users/tonquangtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonquangtu/subscriptions","organizations_url":"https://api.github.com/users/tonquangtu/orgs","repos_url":"https://api.github.com/users/tonquangtu/repos","events_url":"https://api.github.com/users/tonquangtu/events{/privacy}","received_events_url":"https://api.github.com/users/tonquangtu/received_events","type":"User","site_admin":false},"repo":{"id":104316366,"name":"MokiServer","full_name":"tonquangtu/MokiServer","owner":{"login":"tonquangtu","id":17746928,"avatar_url":"https://avatars3.githubusercontent.com/u/17746928?v=4","gravatar_id":"","url":"https://api.github.com/users/tonquangtu","html_url":"https://github.com/tonquangtu","followers_url":"https://api.github.com/users/tonquangtu/followers","following_url":"https://api.github.com/users/tonquangtu/following{/other_user}","gists_url":"https://api.github.com/users/tonquangtu/gists{/gist_id}","starred_url":"https://api.github.com/users/tonquangtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonquangtu/subscriptions","organizations_url":"https://api.github.com/users/tonquangtu/orgs","repos_url":"https://api.github.com/users/tonquangtu/repos","events_url":"https://api.github.com/users/tonquangtu/events{/privacy}","received_events_url":"https://api.github.com/users/tonquangtu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tonquangtu/MokiServer","description":null,"fork":false,"url":"https://api.github.com/repos/tonquangtu/MokiServer","forks_url":"https://api.github.com/repos/tonquangtu/MokiServer/forks","keys_url":"https://api.github.com/repos/tonquangtu/MokiServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tonquangtu/MokiServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tonquangtu/MokiServer/teams","hooks_url":"https://api.github.com/repos/tonquangtu/MokiServer/hooks","issue_events_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues/events{/number}","events_url":"https://api.github.com/repos/tonquangtu/MokiServer/events","assignees_url":"https://api.github.com/repos/tonquangtu/MokiServer/assignees{/user}","branches_url":"https://api.github.com/repos/tonquangtu/MokiServer/branches{/branch}","tags_url":"https://api.github.com/repos/tonquangtu/MokiServer/tags","blobs_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tonquangtu/MokiServer/statuses/{sha}","languages_url":"https://api.github.com/repos/tonquangtu/MokiServer/languages","stargazers_url":"https://api.github.com/repos/tonquangtu/MokiServer/stargazers","contributors_url":"https://api.github.com/repos/tonquangtu/MokiServer/contributors","subscribers_url":"https://api.github.com/repos/tonquangtu/MokiServer/subscribers","subscription_url":"https://api.github.com/repos/tonquangtu/MokiServer/subscription","commits_url":"https://api.github.com/repos/tonquangtu/MokiServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/tonquangtu/MokiServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/tonquangtu/MokiServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/tonquangtu/MokiServer/contents/{+path}","compare_url":"https://api.github.com/repos/tonquangtu/MokiServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tonquangtu/MokiServer/merges","archive_url":"https://api.github.com/repos/tonquangtu/MokiServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tonquangtu/MokiServer/downloads","issues_url":"https://api.github.com/repos/tonquangtu/MokiServer/issues{/number}","pulls_url":"https://api.github.com/repos/tonquangtu/MokiServer/pulls{/number}","milestones_url":"https://api.github.com/repos/tonquangtu/MokiServer/milestones{/number}","notifications_url":"https://api.github.com/repos/tonquangtu/MokiServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tonquangtu/MokiServer/labels{/name}","releases_url":"https://api.github.com/repos/tonquangtu/MokiServer/releases{/id}","deployments_url":"https://api.github.com/repos/tonquangtu/MokiServer/deployments","created_at":"2017-09-21T07:34:17Z","updated_at":"2017-10-15T06:39:50Z","pushed_at":"2017-10-24T02:50:01Z","git_url":"git://github.com/tonquangtu/MokiServer.git","ssh_url":"git@github.com:tonquangtu/MokiServer.git","clone_url":"https://github.com/tonquangtu/MokiServer.git","svn_url":"https://github.com/tonquangtu/MokiServer","homepage":null,"size":230,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44"},"html":{"href":"https://github.com/tonquangtu/MokiServer/pull/44"},"issue":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/issues/44"},"comments":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/tonquangtu/MokiServer/statuses/647dac470f05f595dc2cd197466009285fe0aa0d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Nguyen-Thanh-Tung"}}