{"action":"created","comment":{"url":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments/186500886","pull_request_review_id":118091226,"id":186500886,"diff_hunk":"@@ -0,0 +1,16 @@\n+import { StaticPages } from \"/lib/collections\";\n+import { Reaction } from \"/server/api\";\n+import { Meteor } from \"meteor/meteor\";\n+\n+/**\n+ * StaticPages\n+ * */\n+Meteor.publish(\"StaticPages\", function () {\n+  const shopId = Reaction.getShopId();\n+  if (!shopId) {\n+    return this.ready();\n+  }\n+  return StaticPages.find({\n+    shopId","path":"server/publications/collections/staticPages.js","position":14,"original_position":14,"commit_id":"9144f7aa95cc1f4a9896926624b6794499cddc3e","original_commit_id":"9144f7aa95cc1f4a9896926624b6794499cddc3e","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","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":"'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).","created_at":"2018-05-07T18:04:17Z","updated_at":"2018-05-07T18:04:18Z","html_url":"https://github.com/andela/nazgul-rc/pull/3#discussion_r186500886","pull_request_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments/186500886"},"html":{"href":"https://github.com/andela/nazgul-rc/pull/3#discussion_r186500886"},"pull_request":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/andela/nazgul-rc/pulls/3","id":186420934,"html_url":"https://github.com/andela/nazgul-rc/pull/3","diff_url":"https://github.com/andela/nazgul-rc/pull/3.diff","patch_url":"https://github.com/andela/nazgul-rc/pull/3.patch","issue_url":"https://api.github.com/repos/andela/nazgul-rc/issues/3","number":3,"state":"open","locked":false,"title":"156958163/feature/static pages management","user":{"login":"topseySuave","id":26353008,"avatar_url":"https://avatars2.githubusercontent.com/u/26353008?v=4","gravatar_id":"","url":"https://api.github.com/users/topseySuave","html_url":"https://github.com/topseySuave","followers_url":"https://api.github.com/users/topseySuave/followers","following_url":"https://api.github.com/users/topseySuave/following{/other_user}","gists_url":"https://api.github.com/users/topseySuave/gists{/gist_id}","starred_url":"https://api.github.com/users/topseySuave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topseySuave/subscriptions","organizations_url":"https://api.github.com/users/topseySuave/orgs","repos_url":"https://api.github.com/users/topseySuave/repos","events_url":"https://api.github.com/users/topseySuave/events{/privacy}","received_events_url":"https://api.github.com/users/topseySuave/received_events","type":"User","site_admin":false},"body":"<!-- Thanks so much for your PR, your contribution is appreciated! -->\r\n\r\nPlease provide the following information to help us approve your PR. Failure to provide this\r\ninformation may result in your PR being closed without comment.\r\n\r\n- [ ] Clearly explain what your PR is trying to accomplish. A link to an issue is best\r\nThis PR enables an administrative user to create and manage a static page, For Informative data, like Contact us, About us pages.\r\n![image](https://user-images.githubusercontent.com/26353008/39716622-ca9a705c-5228-11e8-8565-c02beb097363.png)\r\n\r\n- [ ] Provide us detailed instructions on how we can test your PR\r\nThe PR can be tested by clone the repo using \r\n```\r\ngit clone https://github.com/andela/nazgul-rc.git\r\n```\r\nAfter cloning the repo install the dependencies by running \r\n```\r\nnpm install\r\n```\r\nthen running\r\n```\r\nreaction test\r\n```\r\nwould start the tests.","created_at":"2018-05-07T18:03:35Z","updated_at":"2018-05-07T18:04:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/3/commits","review_comments_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/3/comments","review_comment_url":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/nazgul-rc/issues/3/comments","statuses_url":"https://api.github.com/repos/andela/nazgul-rc/statuses/9144f7aa95cc1f4a9896926624b6794499cddc3e","head":{"label":"andela:156958163/feature/static-pages-management","ref":"156958163/feature/static-pages-management","sha":"9144f7aa95cc1f4a9896926624b6794499cddc3e","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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":130388469,"name":"nazgul-rc","full_name":"andela/nazgul-rc","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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/nazgul-rc","description":null,"fork":false,"url":"https://api.github.com/repos/andela/nazgul-rc","forks_url":"https://api.github.com/repos/andela/nazgul-rc/forks","keys_url":"https://api.github.com/repos/andela/nazgul-rc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/nazgul-rc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/nazgul-rc/teams","hooks_url":"https://api.github.com/repos/andela/nazgul-rc/hooks","issue_events_url":"https://api.github.com/repos/andela/nazgul-rc/issues/events{/number}","events_url":"https://api.github.com/repos/andela/nazgul-rc/events","assignees_url":"https://api.github.com/repos/andela/nazgul-rc/assignees{/user}","branches_url":"https://api.github.com/repos/andela/nazgul-rc/branches{/branch}","tags_url":"https://api.github.com/repos/andela/nazgul-rc/tags","blobs_url":"https://api.github.com/repos/andela/nazgul-rc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/nazgul-rc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/nazgul-rc/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/nazgul-rc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/nazgul-rc/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/nazgul-rc/languages","stargazers_url":"https://api.github.com/repos/andela/nazgul-rc/stargazers","contributors_url":"https://api.github.com/repos/andela/nazgul-rc/contributors","subscribers_url":"https://api.github.com/repos/andela/nazgul-rc/subscribers","subscription_url":"https://api.github.com/repos/andela/nazgul-rc/subscription","commits_url":"https://api.github.com/repos/andela/nazgul-rc/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/nazgul-rc/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/nazgul-rc/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/nazgul-rc/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/nazgul-rc/contents/{+path}","compare_url":"https://api.github.com/repos/andela/nazgul-rc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/nazgul-rc/merges","archive_url":"https://api.github.com/repos/andela/nazgul-rc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/nazgul-rc/downloads","issues_url":"https://api.github.com/repos/andela/nazgul-rc/issues{/number}","pulls_url":"https://api.github.com/repos/andela/nazgul-rc/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/nazgul-rc/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/nazgul-rc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/nazgul-rc/labels{/name}","releases_url":"https://api.github.com/repos/andela/nazgul-rc/releases{/id}","deployments_url":"https://api.github.com/repos/andela/nazgul-rc/deployments","created_at":"2018-04-20T16:34:56Z","updated_at":"2018-05-03T14:41:45Z","pushed_at":"2018-05-07T18:03:35Z","git_url":"git://github.com/andela/nazgul-rc.git","ssh_url":"git@github.com:andela/nazgul-rc.git","clone_url":"https://github.com/andela/nazgul-rc.git","svn_url":"https://github.com/andela/nazgul-rc","homepage":null,"size":38182,"stargazers_count":0,"watchers_count":0,"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,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:demo","ref":"demo","sha":"c02a764633d51833ca5e5a9475f9f00080e24d78","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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":130388469,"name":"nazgul-rc","full_name":"andela/nazgul-rc","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","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/nazgul-rc","description":null,"fork":false,"url":"https://api.github.com/repos/andela/nazgul-rc","forks_url":"https://api.github.com/repos/andela/nazgul-rc/forks","keys_url":"https://api.github.com/repos/andela/nazgul-rc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/nazgul-rc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/nazgul-rc/teams","hooks_url":"https://api.github.com/repos/andela/nazgul-rc/hooks","issue_events_url":"https://api.github.com/repos/andela/nazgul-rc/issues/events{/number}","events_url":"https://api.github.com/repos/andela/nazgul-rc/events","assignees_url":"https://api.github.com/repos/andela/nazgul-rc/assignees{/user}","branches_url":"https://api.github.com/repos/andela/nazgul-rc/branches{/branch}","tags_url":"https://api.github.com/repos/andela/nazgul-rc/tags","blobs_url":"https://api.github.com/repos/andela/nazgul-rc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/nazgul-rc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/nazgul-rc/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/nazgul-rc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/nazgul-rc/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/nazgul-rc/languages","stargazers_url":"https://api.github.com/repos/andela/nazgul-rc/stargazers","contributors_url":"https://api.github.com/repos/andela/nazgul-rc/contributors","subscribers_url":"https://api.github.com/repos/andela/nazgul-rc/subscribers","subscription_url":"https://api.github.com/repos/andela/nazgul-rc/subscription","commits_url":"https://api.github.com/repos/andela/nazgul-rc/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/nazgul-rc/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/nazgul-rc/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/nazgul-rc/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/nazgul-rc/contents/{+path}","compare_url":"https://api.github.com/repos/andela/nazgul-rc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/nazgul-rc/merges","archive_url":"https://api.github.com/repos/andela/nazgul-rc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/nazgul-rc/downloads","issues_url":"https://api.github.com/repos/andela/nazgul-rc/issues{/number}","pulls_url":"https://api.github.com/repos/andela/nazgul-rc/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/nazgul-rc/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/nazgul-rc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/nazgul-rc/labels{/name}","releases_url":"https://api.github.com/repos/andela/nazgul-rc/releases{/id}","deployments_url":"https://api.github.com/repos/andela/nazgul-rc/deployments","created_at":"2018-04-20T16:34:56Z","updated_at":"2018-05-03T14:41:45Z","pushed_at":"2018-05-07T18:03:35Z","git_url":"git://github.com/andela/nazgul-rc.git","ssh_url":"git@github.com:andela/nazgul-rc.git","clone_url":"https://github.com/andela/nazgul-rc.git","svn_url":"https://github.com/andela/nazgul-rc","homepage":null,"size":38182,"stargazers_count":0,"watchers_count":0,"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,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/3"},"html":{"href":"https://github.com/andela/nazgul-rc/pull/3"},"issue":{"href":"https://api.github.com/repos/andela/nazgul-rc/issues/3"},"comments":{"href":"https://api.github.com/repos/andela/nazgul-rc/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/nazgul-rc/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/andela/nazgul-rc/statuses/9144f7aa95cc1f4a9896926624b6794499cddc3e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}