{"action":"created","comment":{"url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/comments/80667007","pull_request_review_id":1708273,"id":80667007,"diff_hunk":"@@ -0,0 +1,22 @@\n+var express = require('express');\n+var app = express();\n+\n+module.exports = function (req, res, next) {\n+    var headers = \"com.tethr\";\n+    var verify = req.Collection;\n+    var promise = verify.findOne({APP_ID: headers}).exec();\n+    promise.then(function (verify) {\n+        verify.url = JSON.parse(JSON.stringify(verify)).URL;\n+        return verify.save(); // returns a promise","path":"middleware/middle.js","position":18,"original_position":10,"commit_id":"ed7fdec4c1c02bb175441b0686b008bab0fea7fc","original_commit_id":"5f00149aa041a3a88e2f5628a0787cb19b628573","user":{"login":"reactexcel","id":19383571,"avatar_url":"https://avatars.githubusercontent.com/u/19383571?v=3","gravatar_id":"","url":"https://api.github.com/users/reactexcel","html_url":"https://github.com/reactexcel","followers_url":"https://api.github.com/users/reactexcel/followers","following_url":"https://api.github.com/users/reactexcel/following{/other_user}","gists_url":"https://api.github.com/users/reactexcel/gists{/gist_id}","starred_url":"https://api.github.com/users/reactexcel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactexcel/subscriptions","organizations_url":"https://api.github.com/users/reactexcel/orgs","repos_url":"https://api.github.com/users/reactexcel/repos","events_url":"https://api.github.com/users/reactexcel/events{/privacy}","received_events_url":"https://api.github.com/users/reactexcel/received_events","type":"User","site_admin":false},"body":"what are u saving in db?","created_at":"2016-09-27T11:01:08Z","updated_at":"2016-09-27T11:07:31Z","html_url":"https://github.com/excellencetechnologies/express_magento/pull/5#discussion_r80667007","pull_request_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/comments/80667007"},"html":{"href":"https://github.com/excellencetechnologies/express_magento/pull/5#discussion_r80667007"},"pull_request":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/5","id":86694023,"html_url":"https://github.com/excellencetechnologies/express_magento/pull/5","diff_url":"https://github.com/excellencetechnologies/express_magento/pull/5.diff","patch_url":"https://github.com/excellencetechnologies/express_magento/pull/5.patch","issue_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/5","number":5,"state":"open","locked":false,"title":"Multiple magento","user":{"login":"excellencetechnologies","id":956347,"avatar_url":"https://avatars.githubusercontent.com/u/956347?v=3","gravatar_id":"","url":"https://api.github.com/users/excellencetechnologies","html_url":"https://github.com/excellencetechnologies","followers_url":"https://api.github.com/users/excellencetechnologies/followers","following_url":"https://api.github.com/users/excellencetechnologies/following{/other_user}","gists_url":"https://api.github.com/users/excellencetechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/excellencetechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excellencetechnologies/subscriptions","organizations_url":"https://api.github.com/users/excellencetechnologies/orgs","repos_url":"https://api.github.com/users/excellencetechnologies/repos","events_url":"https://api.github.com/users/excellencetechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/excellencetechnologies/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-26T07:36:59Z","updated_at":"2016-09-27T11:11:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac154c392df7083793700aabf0c8ad9a806edcda","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/5/commits","review_comments_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/5/comments","review_comment_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/comments{/number}","comments_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/5/comments","statuses_url":"https://api.github.com/repos/excellencetechnologies/express_magento/statuses/ed7fdec4c1c02bb175441b0686b008bab0fea7fc","head":{"label":"excellencetechnologies:multipleMagento","ref":"multipleMagento","sha":"ed7fdec4c1c02bb175441b0686b008bab0fea7fc","user":{"login":"excellencetechnologies","id":956347,"avatar_url":"https://avatars.githubusercontent.com/u/956347?v=3","gravatar_id":"","url":"https://api.github.com/users/excellencetechnologies","html_url":"https://github.com/excellencetechnologies","followers_url":"https://api.github.com/users/excellencetechnologies/followers","following_url":"https://api.github.com/users/excellencetechnologies/following{/other_user}","gists_url":"https://api.github.com/users/excellencetechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/excellencetechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excellencetechnologies/subscriptions","organizations_url":"https://api.github.com/users/excellencetechnologies/orgs","repos_url":"https://api.github.com/users/excellencetechnologies/repos","events_url":"https://api.github.com/users/excellencetechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/excellencetechnologies/received_events","type":"User","site_admin":false},"repo":{"id":67575629,"name":"express_magento","full_name":"excellencetechnologies/express_magento","owner":{"login":"excellencetechnologies","id":956347,"avatar_url":"https://avatars.githubusercontent.com/u/956347?v=3","gravatar_id":"","url":"https://api.github.com/users/excellencetechnologies","html_url":"https://github.com/excellencetechnologies","followers_url":"https://api.github.com/users/excellencetechnologies/followers","following_url":"https://api.github.com/users/excellencetechnologies/following{/other_user}","gists_url":"https://api.github.com/users/excellencetechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/excellencetechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excellencetechnologies/subscriptions","organizations_url":"https://api.github.com/users/excellencetechnologies/orgs","repos_url":"https://api.github.com/users/excellencetechnologies/repos","events_url":"https://api.github.com/users/excellencetechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/excellencetechnologies/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/excellencetechnologies/express_magento","description":null,"fork":false,"url":"https://api.github.com/repos/excellencetechnologies/express_magento","forks_url":"https://api.github.com/repos/excellencetechnologies/express_magento/forks","keys_url":"https://api.github.com/repos/excellencetechnologies/express_magento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/excellencetechnologies/express_magento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/excellencetechnologies/express_magento/teams","hooks_url":"https://api.github.com/repos/excellencetechnologies/express_magento/hooks","issue_events_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/events{/number}","events_url":"https://api.github.com/repos/excellencetechnologies/express_magento/events","assignees_url":"https://api.github.com/repos/excellencetechnologies/express_magento/assignees{/user}","branches_url":"https://api.github.com/repos/excellencetechnologies/express_magento/branches{/branch}","tags_url":"https://api.github.com/repos/excellencetechnologies/express_magento/tags","blobs_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/refs{/sha}","trees_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/excellencetechnologies/express_magento/statuses/{sha}","languages_url":"https://api.github.com/repos/excellencetechnologies/express_magento/languages","stargazers_url":"https://api.github.com/repos/excellencetechnologies/express_magento/stargazers","contributors_url":"https://api.github.com/repos/excellencetechnologies/express_magento/contributors","subscribers_url":"https://api.github.com/repos/excellencetechnologies/express_magento/subscribers","subscription_url":"https://api.github.com/repos/excellencetechnologies/express_magento/subscription","commits_url":"https://api.github.com/repos/excellencetechnologies/express_magento/commits{/sha}","git_commits_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/commits{/sha}","comments_url":"https://api.github.com/repos/excellencetechnologies/express_magento/comments{/number}","issue_comment_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/comments{/number}","contents_url":"https://api.github.com/repos/excellencetechnologies/express_magento/contents/{+path}","compare_url":"https://api.github.com/repos/excellencetechnologies/express_magento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/excellencetechnologies/express_magento/merges","archive_url":"https://api.github.com/repos/excellencetechnologies/express_magento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/excellencetechnologies/express_magento/downloads","issues_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues{/number}","pulls_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls{/number}","milestones_url":"https://api.github.com/repos/excellencetechnologies/express_magento/milestones{/number}","notifications_url":"https://api.github.com/repos/excellencetechnologies/express_magento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/excellencetechnologies/express_magento/labels{/name}","releases_url":"https://api.github.com/repos/excellencetechnologies/express_magento/releases{/id}","deployments_url":"https://api.github.com/repos/excellencetechnologies/express_magento/deployments","created_at":"2016-09-07T05:41:23Z","updated_at":"2016-09-07T05:55:18Z","pushed_at":"2016-09-27T11:07:32Z","git_url":"git://github.com/excellencetechnologies/express_magento.git","ssh_url":"git@github.com:excellencetechnologies/express_magento.git","clone_url":"https://github.com/excellencetechnologies/express_magento.git","svn_url":"https://github.com/excellencetechnologies/express_magento","homepage":null,"size":6425,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":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":"excellencetechnologies:master","ref":"master","sha":"4e6f7b3e6f26d577e6ecd939a1bde979123a30b0","user":{"login":"excellencetechnologies","id":956347,"avatar_url":"https://avatars.githubusercontent.com/u/956347?v=3","gravatar_id":"","url":"https://api.github.com/users/excellencetechnologies","html_url":"https://github.com/excellencetechnologies","followers_url":"https://api.github.com/users/excellencetechnologies/followers","following_url":"https://api.github.com/users/excellencetechnologies/following{/other_user}","gists_url":"https://api.github.com/users/excellencetechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/excellencetechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excellencetechnologies/subscriptions","organizations_url":"https://api.github.com/users/excellencetechnologies/orgs","repos_url":"https://api.github.com/users/excellencetechnologies/repos","events_url":"https://api.github.com/users/excellencetechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/excellencetechnologies/received_events","type":"User","site_admin":false},"repo":{"id":67575629,"name":"express_magento","full_name":"excellencetechnologies/express_magento","owner":{"login":"excellencetechnologies","id":956347,"avatar_url":"https://avatars.githubusercontent.com/u/956347?v=3","gravatar_id":"","url":"https://api.github.com/users/excellencetechnologies","html_url":"https://github.com/excellencetechnologies","followers_url":"https://api.github.com/users/excellencetechnologies/followers","following_url":"https://api.github.com/users/excellencetechnologies/following{/other_user}","gists_url":"https://api.github.com/users/excellencetechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/excellencetechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excellencetechnologies/subscriptions","organizations_url":"https://api.github.com/users/excellencetechnologies/orgs","repos_url":"https://api.github.com/users/excellencetechnologies/repos","events_url":"https://api.github.com/users/excellencetechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/excellencetechnologies/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/excellencetechnologies/express_magento","description":null,"fork":false,"url":"https://api.github.com/repos/excellencetechnologies/express_magento","forks_url":"https://api.github.com/repos/excellencetechnologies/express_magento/forks","keys_url":"https://api.github.com/repos/excellencetechnologies/express_magento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/excellencetechnologies/express_magento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/excellencetechnologies/express_magento/teams","hooks_url":"https://api.github.com/repos/excellencetechnologies/express_magento/hooks","issue_events_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/events{/number}","events_url":"https://api.github.com/repos/excellencetechnologies/express_magento/events","assignees_url":"https://api.github.com/repos/excellencetechnologies/express_magento/assignees{/user}","branches_url":"https://api.github.com/repos/excellencetechnologies/express_magento/branches{/branch}","tags_url":"https://api.github.com/repos/excellencetechnologies/express_magento/tags","blobs_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/refs{/sha}","trees_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/excellencetechnologies/express_magento/statuses/{sha}","languages_url":"https://api.github.com/repos/excellencetechnologies/express_magento/languages","stargazers_url":"https://api.github.com/repos/excellencetechnologies/express_magento/stargazers","contributors_url":"https://api.github.com/repos/excellencetechnologies/express_magento/contributors","subscribers_url":"https://api.github.com/repos/excellencetechnologies/express_magento/subscribers","subscription_url":"https://api.github.com/repos/excellencetechnologies/express_magento/subscription","commits_url":"https://api.github.com/repos/excellencetechnologies/express_magento/commits{/sha}","git_commits_url":"https://api.github.com/repos/excellencetechnologies/express_magento/git/commits{/sha}","comments_url":"https://api.github.com/repos/excellencetechnologies/express_magento/comments{/number}","issue_comment_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/comments{/number}","contents_url":"https://api.github.com/repos/excellencetechnologies/express_magento/contents/{+path}","compare_url":"https://api.github.com/repos/excellencetechnologies/express_magento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/excellencetechnologies/express_magento/merges","archive_url":"https://api.github.com/repos/excellencetechnologies/express_magento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/excellencetechnologies/express_magento/downloads","issues_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues{/number}","pulls_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls{/number}","milestones_url":"https://api.github.com/repos/excellencetechnologies/express_magento/milestones{/number}","notifications_url":"https://api.github.com/repos/excellencetechnologies/express_magento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/excellencetechnologies/express_magento/labels{/name}","releases_url":"https://api.github.com/repos/excellencetechnologies/express_magento/releases{/id}","deployments_url":"https://api.github.com/repos/excellencetechnologies/express_magento/deployments","created_at":"2016-09-07T05:41:23Z","updated_at":"2016-09-07T05:55:18Z","pushed_at":"2016-09-27T11:07:32Z","git_url":"git://github.com/excellencetechnologies/express_magento.git","ssh_url":"git@github.com:excellencetechnologies/express_magento.git","clone_url":"https://github.com/excellencetechnologies/express_magento.git","svn_url":"https://github.com/excellencetechnologies/express_magento","homepage":null,"size":6425,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":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/excellencetechnologies/express_magento/pulls/5"},"html":{"href":"https://github.com/excellencetechnologies/express_magento/pull/5"},"issue":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/5"},"comments":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/statuses/ed7fdec4c1c02bb175441b0686b008bab0fea7fc"}}}}
{"actor":{"display_login":"reactexcel"}}