{"action":"created","comment":{"url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/comments/177404621","pull_request_review_id":107266785,"id":177404621,"diff_hunk":"@@ -2,8 +2,10 @@ import { Column, Entity } from \"typeorm\";\n \n import { generateId, IdPrefix } from \"../utils\";\n \n-import { CreationDateModel, register as Register, initializer as Initializer } from \"./index\";\n+import { CreationDateModel, register as Register, initializer as Initializer, getRedis } from \"./index\";\n import { BlockchainData, OfferType, OrderValue } from \"./offers\";\n+import * as moment from \"moment\";","path":"scripts/src/models/orders.ts","position":7,"original_position":7,"commit_id":"5ac702b3b18854777b9c7c68caaf2730775a85b2","original_commit_id":"5ac702b3b18854777b9c7c68caaf2730775a85b2","user":{"login":"nitzantomer","id":1661086,"avatar_url":"https://avatars1.githubusercontent.com/u/1661086?v=4","gravatar_id":"","url":"https://api.github.com/users/nitzantomer","html_url":"https://github.com/nitzantomer","followers_url":"https://api.github.com/users/nitzantomer/followers","following_url":"https://api.github.com/users/nitzantomer/following{/other_user}","gists_url":"https://api.github.com/users/nitzantomer/gists{/gist_id}","starred_url":"https://api.github.com/users/nitzantomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitzantomer/subscriptions","organizations_url":"https://api.github.com/users/nitzantomer/orgs","repos_url":"https://api.github.com/users/nitzantomer/repos","events_url":"https://api.github.com/users/nitzantomer/events{/privacy}","received_events_url":"https://api.github.com/users/nitzantomer/received_events","type":"User","site_admin":false},"body":"i prefer having npm imports at the top","created_at":"2018-03-27T12:27:21Z","updated_at":"2018-03-27T12:37:38Z","html_url":"https://github.com/kinfoundation/marketplace-server/pull/55#discussion_r177404621","pull_request_url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/comments/177404621"},"html":{"href":"https://github.com/kinfoundation/marketplace-server/pull/55#discussion_r177404621"},"pull_request":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55","id":177679745,"html_url":"https://github.com/kinfoundation/marketplace-server/pull/55","diff_url":"https://github.com/kinfoundation/marketplace-server/pull/55.diff","patch_url":"https://github.com/kinfoundation/marketplace-server/pull/55.patch","issue_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/55","number":55,"state":"open","locked":false,"title":"Doody/ECO-137 redis open order","user":{"login":"doodyparizada","id":965572,"avatar_url":"https://avatars0.githubusercontent.com/u/965572?v=4","gravatar_id":"","url":"https://api.github.com/users/doodyparizada","html_url":"https://github.com/doodyparizada","followers_url":"https://api.github.com/users/doodyparizada/followers","following_url":"https://api.github.com/users/doodyparizada/following{/other_user}","gists_url":"https://api.github.com/users/doodyparizada/gists{/gist_id}","starred_url":"https://api.github.com/users/doodyparizada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doodyparizada/subscriptions","organizations_url":"https://api.github.com/users/doodyparizada/orgs","repos_url":"https://api.github.com/users/doodyparizada/repos","events_url":"https://api.github.com/users/doodyparizada/events{/privacy}","received_events_url":"https://api.github.com/users/doodyparizada/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-27T09:25:38Z","updated_at":"2018-03-27T12:37:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae07d592f08c413e30a137c459582da90fd2d7da","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55/commits","review_comments_url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55/comments","review_comment_url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/55/comments","statuses_url":"https://api.github.com/repos/kinfoundation/marketplace-server/statuses/5ac702b3b18854777b9c7c68caaf2730775a85b2","head":{"label":"kinfoundation:doody/redis_open_order","ref":"doody/redis_open_order","sha":"5ac702b3b18854777b9c7c68caaf2730775a85b2","user":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":119386811,"name":"marketplace-server","full_name":"kinfoundation/marketplace-server","owner":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kinfoundation/marketplace-server","description":"Serves offers for the kin ecosystem client SDK","fork":false,"url":"https://api.github.com/repos/kinfoundation/marketplace-server","forks_url":"https://api.github.com/repos/kinfoundation/marketplace-server/forks","keys_url":"https://api.github.com/repos/kinfoundation/marketplace-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kinfoundation/marketplace-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kinfoundation/marketplace-server/teams","hooks_url":"https://api.github.com/repos/kinfoundation/marketplace-server/hooks","issue_events_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/events{/number}","events_url":"https://api.github.com/repos/kinfoundation/marketplace-server/events","assignees_url":"https://api.github.com/repos/kinfoundation/marketplace-server/assignees{/user}","branches_url":"https://api.github.com/repos/kinfoundation/marketplace-server/branches{/branch}","tags_url":"https://api.github.com/repos/kinfoundation/marketplace-server/tags","blobs_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kinfoundation/marketplace-server/statuses/{sha}","languages_url":"https://api.github.com/repos/kinfoundation/marketplace-server/languages","stargazers_url":"https://api.github.com/repos/kinfoundation/marketplace-server/stargazers","contributors_url":"https://api.github.com/repos/kinfoundation/marketplace-server/contributors","subscribers_url":"https://api.github.com/repos/kinfoundation/marketplace-server/subscribers","subscription_url":"https://api.github.com/repos/kinfoundation/marketplace-server/subscription","commits_url":"https://api.github.com/repos/kinfoundation/marketplace-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/kinfoundation/marketplace-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/kinfoundation/marketplace-server/contents/{+path}","compare_url":"https://api.github.com/repos/kinfoundation/marketplace-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kinfoundation/marketplace-server/merges","archive_url":"https://api.github.com/repos/kinfoundation/marketplace-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kinfoundation/marketplace-server/downloads","issues_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues{/number}","pulls_url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls{/number}","milestones_url":"https://api.github.com/repos/kinfoundation/marketplace-server/milestones{/number}","notifications_url":"https://api.github.com/repos/kinfoundation/marketplace-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kinfoundation/marketplace-server/labels{/name}","releases_url":"https://api.github.com/repos/kinfoundation/marketplace-server/releases{/id}","deployments_url":"https://api.github.com/repos/kinfoundation/marketplace-server/deployments","created_at":"2018-01-29T13:35:25Z","updated_at":"2018-03-27T09:00:29Z","pushed_at":"2018-03-27T11:31:06Z","git_url":"git://github.com/kinfoundation/marketplace-server.git","ssh_url":"git@github.com:kinfoundation/marketplace-server.git","clone_url":"https://github.com/kinfoundation/marketplace-server.git","svn_url":"https://github.com/kinfoundation/marketplace-server","homepage":"https://medium.com/kinfoundation","size":444,"stargazers_count":9,"watchers_count":9,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":9,"default_branch":"master"}},"base":{"label":"kinfoundation:master","ref":"master","sha":"6c67640a2bba30633735eb015c7594613ab40ebd","user":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":119386811,"name":"marketplace-server","full_name":"kinfoundation/marketplace-server","owner":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kinfoundation/marketplace-server","description":"Serves offers for the kin ecosystem client SDK","fork":false,"url":"https://api.github.com/repos/kinfoundation/marketplace-server","forks_url":"https://api.github.com/repos/kinfoundation/marketplace-server/forks","keys_url":"https://api.github.com/repos/kinfoundation/marketplace-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kinfoundation/marketplace-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kinfoundation/marketplace-server/teams","hooks_url":"https://api.github.com/repos/kinfoundation/marketplace-server/hooks","issue_events_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/events{/number}","events_url":"https://api.github.com/repos/kinfoundation/marketplace-server/events","assignees_url":"https://api.github.com/repos/kinfoundation/marketplace-server/assignees{/user}","branches_url":"https://api.github.com/repos/kinfoundation/marketplace-server/branches{/branch}","tags_url":"https://api.github.com/repos/kinfoundation/marketplace-server/tags","blobs_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kinfoundation/marketplace-server/statuses/{sha}","languages_url":"https://api.github.com/repos/kinfoundation/marketplace-server/languages","stargazers_url":"https://api.github.com/repos/kinfoundation/marketplace-server/stargazers","contributors_url":"https://api.github.com/repos/kinfoundation/marketplace-server/contributors","subscribers_url":"https://api.github.com/repos/kinfoundation/marketplace-server/subscribers","subscription_url":"https://api.github.com/repos/kinfoundation/marketplace-server/subscription","commits_url":"https://api.github.com/repos/kinfoundation/marketplace-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/kinfoundation/marketplace-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/kinfoundation/marketplace-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/kinfoundation/marketplace-server/contents/{+path}","compare_url":"https://api.github.com/repos/kinfoundation/marketplace-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kinfoundation/marketplace-server/merges","archive_url":"https://api.github.com/repos/kinfoundation/marketplace-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kinfoundation/marketplace-server/downloads","issues_url":"https://api.github.com/repos/kinfoundation/marketplace-server/issues{/number}","pulls_url":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls{/number}","milestones_url":"https://api.github.com/repos/kinfoundation/marketplace-server/milestones{/number}","notifications_url":"https://api.github.com/repos/kinfoundation/marketplace-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kinfoundation/marketplace-server/labels{/name}","releases_url":"https://api.github.com/repos/kinfoundation/marketplace-server/releases{/id}","deployments_url":"https://api.github.com/repos/kinfoundation/marketplace-server/deployments","created_at":"2018-01-29T13:35:25Z","updated_at":"2018-03-27T09:00:29Z","pushed_at":"2018-03-27T11:31:06Z","git_url":"git://github.com/kinfoundation/marketplace-server.git","ssh_url":"git@github.com:kinfoundation/marketplace-server.git","clone_url":"https://github.com/kinfoundation/marketplace-server.git","svn_url":"https://github.com/kinfoundation/marketplace-server","homepage":"https://medium.com/kinfoundation","size":444,"stargazers_count":9,"watchers_count":9,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55"},"html":{"href":"https://github.com/kinfoundation/marketplace-server/pull/55"},"issue":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/55"},"comments":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/kinfoundation/marketplace-server/statuses/5ac702b3b18854777b9c7c68caaf2730775a85b2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"nitzantomer"}}