{"action":"created","comment":{"url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/comments/90915445","pull_request_review_id":11428981,"id":90915445,"diff_hunk":"@@ -0,0 +1,26 @@\n+/* eslint no-underscore-dangle: [\"error\", { \"allow\": [\"_id\"] }]*/\n+/**\n+ * Module dependencies.\n+ */\n+const mongoose = require('mongoose');","path":"app/controllers/api/search.js","position":5,"original_position":5,"commit_id":"3dc3a20cae22c3b2397a41260a0903d411dfa38e","original_commit_id":"3dc3a20cae22c3b2397a41260a0903d411dfa38e","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unable to resolve path to module 'mongoose'  import/no-unresolved","created_at":"2016-12-05T17:36:03Z","updated_at":"2016-12-05T17:36:03Z","html_url":"https://github.com/andela/kissa-cfh-project/pull/38#discussion_r90915445","pull_request_url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/comments/90915445"},"html":{"href":"https://github.com/andela/kissa-cfh-project/pull/38#discussion_r90915445"},"pull_request":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38","id":96574421,"html_url":"https://github.com/andela/kissa-cfh-project/pull/38","diff_url":"https://github.com/andela/kissa-cfh-project/pull/38.diff","patch_url":"https://github.com/andela/kissa-cfh-project/pull/38.patch","issue_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues/38","number":38,"state":"open","locked":false,"title":"#134209517 send game invites","user":{"login":"andela-tisrael","id":19914657,"avatar_url":"https://avatars.githubusercontent.com/u/19914657?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-tisrael","html_url":"https://github.com/andela-tisrael","followers_url":"https://api.github.com/users/andela-tisrael/followers","following_url":"https://api.github.com/users/andela-tisrael/following{/other_user}","gists_url":"https://api.github.com/users/andela-tisrael/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-tisrael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-tisrael/subscriptions","organizations_url":"https://api.github.com/users/andela-tisrael/orgs","repos_url":"https://api.github.com/users/andela-tisrael/repos","events_url":"https://api.github.com/users/andela-tisrael/events{/privacy}","received_events_url":"https://api.github.com/users/andela-tisrael/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR searches for users from the database and send an invites to registered and unregistered users.\r\n#### Description of Task to be completed?\r\nSearch for users from the database and send invites with the URL for them to join the game. The invites can be sent to both registered and unregistered users.\r\n#### How should this be manually tested?\r\nThe result of the test can be seen by running the test and viewing the result of the api routes created.\r\n#### Any background context you want to provide?\r\nNo background context\r\n#### What are the relevant pivotal tracker stories?\r\nUsers should be able to send invites to at most 11 people other than themselves\r\n#### Screenshots (if appropriate)\r\n![screen shot 2016-12-05 at 6 34 24 pm](https://cloud.githubusercontent.com/assets/19914657/20895382/850704bc-bb19-11e6-9375-bced312ef23a.png)\r\n#### Questions:\r\nNo questions.","created_at":"2016-12-05T17:35:47Z","updated_at":"2016-12-05T17:36:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9ea9deb77a60b028292483a7ee66e3fc31d374d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38/commits","review_comments_url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38/comments","review_comment_url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues/38/comments","statuses_url":"https://api.github.com/repos/andela/kissa-cfh-project/statuses/3dc3a20cae22c3b2397a41260a0903d411dfa38e","head":{"label":"andela:feature/134209517/send-game-invites","ref":"feature/134209517/send-game-invites","sha":"3dc3a20cae22c3b2397a41260a0903d411dfa38e","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":73506133,"name":"kissa-cfh-project","full_name":"andela/kissa-cfh-project","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/kissa-cfh-project","description":null,"fork":false,"url":"https://api.github.com/repos/andela/kissa-cfh-project","forks_url":"https://api.github.com/repos/andela/kissa-cfh-project/forks","keys_url":"https://api.github.com/repos/andela/kissa-cfh-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/kissa-cfh-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/kissa-cfh-project/teams","hooks_url":"https://api.github.com/repos/andela/kissa-cfh-project/hooks","issue_events_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues/events{/number}","events_url":"https://api.github.com/repos/andela/kissa-cfh-project/events","assignees_url":"https://api.github.com/repos/andela/kissa-cfh-project/assignees{/user}","branches_url":"https://api.github.com/repos/andela/kissa-cfh-project/branches{/branch}","tags_url":"https://api.github.com/repos/andela/kissa-cfh-project/tags","blobs_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/kissa-cfh-project/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/kissa-cfh-project/languages","stargazers_url":"https://api.github.com/repos/andela/kissa-cfh-project/stargazers","contributors_url":"https://api.github.com/repos/andela/kissa-cfh-project/contributors","subscribers_url":"https://api.github.com/repos/andela/kissa-cfh-project/subscribers","subscription_url":"https://api.github.com/repos/andela/kissa-cfh-project/subscription","commits_url":"https://api.github.com/repos/andela/kissa-cfh-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/kissa-cfh-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/kissa-cfh-project/contents/{+path}","compare_url":"https://api.github.com/repos/andela/kissa-cfh-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/kissa-cfh-project/merges","archive_url":"https://api.github.com/repos/andela/kissa-cfh-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/kissa-cfh-project/downloads","issues_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues{/number}","pulls_url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/kissa-cfh-project/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/kissa-cfh-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/kissa-cfh-project/labels{/name}","releases_url":"https://api.github.com/repos/andela/kissa-cfh-project/releases{/id}","deployments_url":"https://api.github.com/repos/andela/kissa-cfh-project/deployments","created_at":"2016-11-11T19:39:46Z","updated_at":"2016-11-16T10:39:36Z","pushed_at":"2016-12-05T17:35:47Z","git_url":"git://github.com/andela/kissa-cfh-project.git","ssh_url":"git@github.com:andela/kissa-cfh-project.git","clone_url":"https://github.com/andela/kissa-cfh-project.git","svn_url":"https://github.com/andela/kissa-cfh-project","homepage":null,"size":10854,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"17fe6ed40df21c837dc55c8b78ab540f267049d3","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":73506133,"name":"kissa-cfh-project","full_name":"andela/kissa-cfh-project","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/kissa-cfh-project","description":null,"fork":false,"url":"https://api.github.com/repos/andela/kissa-cfh-project","forks_url":"https://api.github.com/repos/andela/kissa-cfh-project/forks","keys_url":"https://api.github.com/repos/andela/kissa-cfh-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/kissa-cfh-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/kissa-cfh-project/teams","hooks_url":"https://api.github.com/repos/andela/kissa-cfh-project/hooks","issue_events_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues/events{/number}","events_url":"https://api.github.com/repos/andela/kissa-cfh-project/events","assignees_url":"https://api.github.com/repos/andela/kissa-cfh-project/assignees{/user}","branches_url":"https://api.github.com/repos/andela/kissa-cfh-project/branches{/branch}","tags_url":"https://api.github.com/repos/andela/kissa-cfh-project/tags","blobs_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/kissa-cfh-project/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/kissa-cfh-project/languages","stargazers_url":"https://api.github.com/repos/andela/kissa-cfh-project/stargazers","contributors_url":"https://api.github.com/repos/andela/kissa-cfh-project/contributors","subscribers_url":"https://api.github.com/repos/andela/kissa-cfh-project/subscribers","subscription_url":"https://api.github.com/repos/andela/kissa-cfh-project/subscription","commits_url":"https://api.github.com/repos/andela/kissa-cfh-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/kissa-cfh-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/kissa-cfh-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/kissa-cfh-project/contents/{+path}","compare_url":"https://api.github.com/repos/andela/kissa-cfh-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/kissa-cfh-project/merges","archive_url":"https://api.github.com/repos/andela/kissa-cfh-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/kissa-cfh-project/downloads","issues_url":"https://api.github.com/repos/andela/kissa-cfh-project/issues{/number}","pulls_url":"https://api.github.com/repos/andela/kissa-cfh-project/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/kissa-cfh-project/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/kissa-cfh-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/kissa-cfh-project/labels{/name}","releases_url":"https://api.github.com/repos/andela/kissa-cfh-project/releases{/id}","deployments_url":"https://api.github.com/repos/andela/kissa-cfh-project/deployments","created_at":"2016-11-11T19:39:46Z","updated_at":"2016-11-16T10:39:36Z","pushed_at":"2016-12-05T17:35:47Z","git_url":"git://github.com/andela/kissa-cfh-project.git","ssh_url":"git@github.com:andela/kissa-cfh-project.git","clone_url":"https://github.com/andela/kissa-cfh-project.git","svn_url":"https://github.com/andela/kissa-cfh-project","homepage":null,"size":10854,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38"},"html":{"href":"https://github.com/andela/kissa-cfh-project/pull/38"},"issue":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/issues/38"},"comments":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/andela/kissa-cfh-project/statuses/3dc3a20cae22c3b2397a41260a0903d411dfa38e"}}}}
{"actor":{"display_login":"houndci-bot"}}