{"action":"created","comment":{"url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/comments/89299671","pull_request_review_id":9845163,"id":89299671,"diff_hunk":"@@ -30,14 +28,22 @@ router.post('/products', function (req, res) {\n                     } else if (req.statusCode == ERR_STATUS) {\n                         res.json({status: 0, statuscode: req.statusCode, body: response});\n                     } else {\n-                        res.json({status: 1, statuscode: req.statusCode, body: response});\n-                        client.hmset(headers + 'products_' + type, {\n-                            'type': type,\n-                            \"data\": response,\n-                            \"status\": 1,\n-                            \"statuscode\": req.statusCode\n-                        });\n-                        client.expire('products_' + type, config.PRODUCT_EXPIRESAT);\n+                        var resp = JSON.parse(response);\n+                        for (i = 0; i < resp.data[0].data.media_images.length; i++) {\n+                            var url = resp.data[0].data.media_images[i];\n+                            request_.resize(url, APP_ID, function (status, response_, image_name) {","path":"routes/home.js","position":30,"original_position":30,"commit_id":"ef005d2ffe96e61764ea00fe73548f8bb2d24680","original_commit_id":"6a2b8decd510b1be00934357b5b9a8d67d8943c2","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":"use async here. now","created_at":"2016-11-23T11:42:46Z","updated_at":"2016-11-23T11:42:46Z","html_url":"https://github.com/excellencetechnologies/express_magento/pull/14#discussion_r89299671","pull_request_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/comments/89299671"},"html":{"href":"https://github.com/excellencetechnologies/express_magento/pull/14#discussion_r89299671"},"pull_request":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/14","id":94116649,"html_url":"https://github.com/excellencetechnologies/express_magento/pull/14","diff_url":"https://github.com/excellencetechnologies/express_magento/pull/14.diff","patch_url":"https://github.com/excellencetechnologies/express_magento/pull/14.patch","issue_url":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/14","number":14,"state":"open","locked":false,"title":"downloading and resizing is done","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-11-17T07:43:43Z","updated_at":"2016-11-23T11:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a6b929bfe6307ea5213f2b659338b6f5b32694c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/14/commits","review_comments_url":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/14/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/14/comments","statuses_url":"https://api.github.com/repos/excellencetechnologies/express_magento/statuses/ef005d2ffe96e61764ea00fe73548f8bb2d24680","head":{"label":"excellencetechnologies:product_review","ref":"product_review","sha":"ef005d2ffe96e61764ea00fe73548f8bb2d24680","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-11-23T11:22:13Z","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":6694,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"excellencetechnologies:master","ref":"master","sha":"1344e86dd5829d1144d3790e6617e80a41d57a0e","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-11-23T11:22:13Z","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":6694,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/14"},"html":{"href":"https://github.com/excellencetechnologies/express_magento/pull/14"},"issue":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/14"},"comments":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/pulls/14/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/14/commits"},"statuses":{"href":"https://api.github.com/repos/excellencetechnologies/express_magento/statuses/ef005d2ffe96e61764ea00fe73548f8bb2d24680"}}}}
{"actor":{"display_login":"excellencetechnologies"}}