{"action":"created","comment":{"url":"https://api.github.com/repos/Insidexa/auction/pulls/comments/244223885","pull_request_review_id":188174897,"id":244223885,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDIyMzg4NQ==","diff_hunk":"@@ -0,0 +1,80 @@\n+'use strict';\n+\n+const Event = use('Event');\n+const Order = use('App/Models/Order');\n+const Lot = use('App/Models/Lot');\n+const ResponseDto = use('App/Dto/ResponseDto');\n+\n+class OrderController {\n+  async store ({ request, response, auth }) {\n+    const orderRequestData = this.filterOrderFields(request);\n+    const lot = await Lot.find(orderRequestData.lot_id);\n+    const bidWinner = await lot.bids().withMaxPriceOnLot().first();","path":"app/Controllers/Http/OrderController.js","position":12,"original_position":12,"commit_id":"a4d700cbb070bd9419cace4354820bf8c0ebf0b9","original_commit_id":"a4d700cbb070bd9419cace4354820bf8c0ebf0b9","user":{"login":"GerashenkoVladimir","id":14333519,"node_id":"MDQ6VXNlcjE0MzMzNTE5","avatar_url":"https://avatars3.githubusercontent.com/u/14333519?v=4","gravatar_id":"","url":"https://api.github.com/users/GerashenkoVladimir","html_url":"https://github.com/GerashenkoVladimir","followers_url":"https://api.github.com/users/GerashenkoVladimir/followers","following_url":"https://api.github.com/users/GerashenkoVladimir/following{/other_user}","gists_url":"https://api.github.com/users/GerashenkoVladimir/gists{/gist_id}","starred_url":"https://api.github.com/users/GerashenkoVladimir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerashenkoVladimir/subscriptions","organizations_url":"https://api.github.com/users/GerashenkoVladimir/orgs","repos_url":"https://api.github.com/users/GerashenkoVladimir/repos","events_url":"https://api.github.com/users/GerashenkoVladimir/events{/privacy}","received_events_url":"https://api.github.com/users/GerashenkoVladimir/received_events","type":"User","site_admin":false},"body":"и как так выходит лот закрыт а заказ не сформирован даже\r\nта и может вообще не быть сформирован","created_at":"2018-12-27T20:54:00Z","updated_at":"2018-12-27T20:54:01Z","html_url":"https://github.com/Insidexa/auction/pull/9#discussion_r244223885","pull_request_url":"https://api.github.com/repos/Insidexa/auction/pulls/9","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Insidexa/auction/pulls/comments/244223885"},"html":{"href":"https://github.com/Insidexa/auction/pull/9#discussion_r244223885"},"pull_request":{"href":"https://api.github.com/repos/Insidexa/auction/pulls/9"}},"in_reply_to_id":244210607},"pull_request":{"url":"https://api.github.com/repos/Insidexa/auction/pulls/9","id":241116334,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMTE2MzM0","html_url":"https://github.com/Insidexa/auction/pull/9","diff_url":"https://github.com/Insidexa/auction/pull/9.diff","patch_url":"https://github.com/Insidexa/auction/pull/9.patch","issue_url":"https://api.github.com/repos/Insidexa/auction/issues/9","number":9,"state":"open","locked":false,"title":"order flow","user":{"login":"Insidexa","id":6715948,"node_id":"MDQ6VXNlcjY3MTU5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6715948?v=4","gravatar_id":"","url":"https://api.github.com/users/Insidexa","html_url":"https://github.com/Insidexa","followers_url":"https://api.github.com/users/Insidexa/followers","following_url":"https://api.github.com/users/Insidexa/following{/other_user}","gists_url":"https://api.github.com/users/Insidexa/gists{/gist_id}","starred_url":"https://api.github.com/users/Insidexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insidexa/subscriptions","organizations_url":"https://api.github.com/users/Insidexa/orgs","repos_url":"https://api.github.com/users/Insidexa/repos","events_url":"https://api.github.com/users/Insidexa/events{/privacy}","received_events_url":"https://api.github.com/users/Insidexa/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-27T09:51:08Z","updated_at":"2018-12-27T20:54:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5528f785cd0a95f3e6a0b3f5938265b2ab8948c8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Insidexa/auction/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Insidexa/auction/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Insidexa/auction/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Insidexa/auction/issues/9/comments","statuses_url":"https://api.github.com/repos/Insidexa/auction/statuses/a4d700cbb070bd9419cace4354820bf8c0ebf0b9","head":{"label":"Insidexa:order","ref":"order","sha":"a4d700cbb070bd9419cace4354820bf8c0ebf0b9","user":{"login":"Insidexa","id":6715948,"node_id":"MDQ6VXNlcjY3MTU5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6715948?v=4","gravatar_id":"","url":"https://api.github.com/users/Insidexa","html_url":"https://github.com/Insidexa","followers_url":"https://api.github.com/users/Insidexa/followers","following_url":"https://api.github.com/users/Insidexa/following{/other_user}","gists_url":"https://api.github.com/users/Insidexa/gists{/gist_id}","starred_url":"https://api.github.com/users/Insidexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insidexa/subscriptions","organizations_url":"https://api.github.com/users/Insidexa/orgs","repos_url":"https://api.github.com/users/Insidexa/repos","events_url":"https://api.github.com/users/Insidexa/events{/privacy}","received_events_url":"https://api.github.com/users/Insidexa/received_events","type":"User","site_admin":false},"repo":{"id":160185611,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAxODU2MTE=","name":"auction","full_name":"Insidexa/auction","private":false,"owner":{"login":"Insidexa","id":6715948,"node_id":"MDQ6VXNlcjY3MTU5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6715948?v=4","gravatar_id":"","url":"https://api.github.com/users/Insidexa","html_url":"https://github.com/Insidexa","followers_url":"https://api.github.com/users/Insidexa/followers","following_url":"https://api.github.com/users/Insidexa/following{/other_user}","gists_url":"https://api.github.com/users/Insidexa/gists{/gist_id}","starred_url":"https://api.github.com/users/Insidexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insidexa/subscriptions","organizations_url":"https://api.github.com/users/Insidexa/orgs","repos_url":"https://api.github.com/users/Insidexa/repos","events_url":"https://api.github.com/users/Insidexa/events{/privacy}","received_events_url":"https://api.github.com/users/Insidexa/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Insidexa/auction","description":null,"fork":false,"url":"https://api.github.com/repos/Insidexa/auction","forks_url":"https://api.github.com/repos/Insidexa/auction/forks","keys_url":"https://api.github.com/repos/Insidexa/auction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Insidexa/auction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Insidexa/auction/teams","hooks_url":"https://api.github.com/repos/Insidexa/auction/hooks","issue_events_url":"https://api.github.com/repos/Insidexa/auction/issues/events{/number}","events_url":"https://api.github.com/repos/Insidexa/auction/events","assignees_url":"https://api.github.com/repos/Insidexa/auction/assignees{/user}","branches_url":"https://api.github.com/repos/Insidexa/auction/branches{/branch}","tags_url":"https://api.github.com/repos/Insidexa/auction/tags","blobs_url":"https://api.github.com/repos/Insidexa/auction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Insidexa/auction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Insidexa/auction/git/refs{/sha}","trees_url":"https://api.github.com/repos/Insidexa/auction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Insidexa/auction/statuses/{sha}","languages_url":"https://api.github.com/repos/Insidexa/auction/languages","stargazers_url":"https://api.github.com/repos/Insidexa/auction/stargazers","contributors_url":"https://api.github.com/repos/Insidexa/auction/contributors","subscribers_url":"https://api.github.com/repos/Insidexa/auction/subscribers","subscription_url":"https://api.github.com/repos/Insidexa/auction/subscription","commits_url":"https://api.github.com/repos/Insidexa/auction/commits{/sha}","git_commits_url":"https://api.github.com/repos/Insidexa/auction/git/commits{/sha}","comments_url":"https://api.github.com/repos/Insidexa/auction/comments{/number}","issue_comment_url":"https://api.github.com/repos/Insidexa/auction/issues/comments{/number}","contents_url":"https://api.github.com/repos/Insidexa/auction/contents/{+path}","compare_url":"https://api.github.com/repos/Insidexa/auction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Insidexa/auction/merges","archive_url":"https://api.github.com/repos/Insidexa/auction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Insidexa/auction/downloads","issues_url":"https://api.github.com/repos/Insidexa/auction/issues{/number}","pulls_url":"https://api.github.com/repos/Insidexa/auction/pulls{/number}","milestones_url":"https://api.github.com/repos/Insidexa/auction/milestones{/number}","notifications_url":"https://api.github.com/repos/Insidexa/auction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Insidexa/auction/labels{/name}","releases_url":"https://api.github.com/repos/Insidexa/auction/releases{/id}","deployments_url":"https://api.github.com/repos/Insidexa/auction/deployments","created_at":"2018-12-03T12:12:44Z","updated_at":"2018-12-03T12:20:03Z","pushed_at":"2018-12-27T13:53:17Z","git_url":"git://github.com/Insidexa/auction.git","ssh_url":"git@github.com:Insidexa/auction.git","clone_url":"https://github.com/Insidexa/auction.git","svn_url":"https://github.com/Insidexa/auction","homepage":null,"size":4638,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Insidexa:dev","ref":"dev","sha":"ddb6055aaa934b346c4d1d38e9515245f1f8bb79","user":{"login":"Insidexa","id":6715948,"node_id":"MDQ6VXNlcjY3MTU5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6715948?v=4","gravatar_id":"","url":"https://api.github.com/users/Insidexa","html_url":"https://github.com/Insidexa","followers_url":"https://api.github.com/users/Insidexa/followers","following_url":"https://api.github.com/users/Insidexa/following{/other_user}","gists_url":"https://api.github.com/users/Insidexa/gists{/gist_id}","starred_url":"https://api.github.com/users/Insidexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insidexa/subscriptions","organizations_url":"https://api.github.com/users/Insidexa/orgs","repos_url":"https://api.github.com/users/Insidexa/repos","events_url":"https://api.github.com/users/Insidexa/events{/privacy}","received_events_url":"https://api.github.com/users/Insidexa/received_events","type":"User","site_admin":false},"repo":{"id":160185611,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAxODU2MTE=","name":"auction","full_name":"Insidexa/auction","private":false,"owner":{"login":"Insidexa","id":6715948,"node_id":"MDQ6VXNlcjY3MTU5NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/6715948?v=4","gravatar_id":"","url":"https://api.github.com/users/Insidexa","html_url":"https://github.com/Insidexa","followers_url":"https://api.github.com/users/Insidexa/followers","following_url":"https://api.github.com/users/Insidexa/following{/other_user}","gists_url":"https://api.github.com/users/Insidexa/gists{/gist_id}","starred_url":"https://api.github.com/users/Insidexa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Insidexa/subscriptions","organizations_url":"https://api.github.com/users/Insidexa/orgs","repos_url":"https://api.github.com/users/Insidexa/repos","events_url":"https://api.github.com/users/Insidexa/events{/privacy}","received_events_url":"https://api.github.com/users/Insidexa/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Insidexa/auction","description":null,"fork":false,"url":"https://api.github.com/repos/Insidexa/auction","forks_url":"https://api.github.com/repos/Insidexa/auction/forks","keys_url":"https://api.github.com/repos/Insidexa/auction/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Insidexa/auction/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Insidexa/auction/teams","hooks_url":"https://api.github.com/repos/Insidexa/auction/hooks","issue_events_url":"https://api.github.com/repos/Insidexa/auction/issues/events{/number}","events_url":"https://api.github.com/repos/Insidexa/auction/events","assignees_url":"https://api.github.com/repos/Insidexa/auction/assignees{/user}","branches_url":"https://api.github.com/repos/Insidexa/auction/branches{/branch}","tags_url":"https://api.github.com/repos/Insidexa/auction/tags","blobs_url":"https://api.github.com/repos/Insidexa/auction/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Insidexa/auction/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Insidexa/auction/git/refs{/sha}","trees_url":"https://api.github.com/repos/Insidexa/auction/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Insidexa/auction/statuses/{sha}","languages_url":"https://api.github.com/repos/Insidexa/auction/languages","stargazers_url":"https://api.github.com/repos/Insidexa/auction/stargazers","contributors_url":"https://api.github.com/repos/Insidexa/auction/contributors","subscribers_url":"https://api.github.com/repos/Insidexa/auction/subscribers","subscription_url":"https://api.github.com/repos/Insidexa/auction/subscription","commits_url":"https://api.github.com/repos/Insidexa/auction/commits{/sha}","git_commits_url":"https://api.github.com/repos/Insidexa/auction/git/commits{/sha}","comments_url":"https://api.github.com/repos/Insidexa/auction/comments{/number}","issue_comment_url":"https://api.github.com/repos/Insidexa/auction/issues/comments{/number}","contents_url":"https://api.github.com/repos/Insidexa/auction/contents/{+path}","compare_url":"https://api.github.com/repos/Insidexa/auction/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Insidexa/auction/merges","archive_url":"https://api.github.com/repos/Insidexa/auction/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Insidexa/auction/downloads","issues_url":"https://api.github.com/repos/Insidexa/auction/issues{/number}","pulls_url":"https://api.github.com/repos/Insidexa/auction/pulls{/number}","milestones_url":"https://api.github.com/repos/Insidexa/auction/milestones{/number}","notifications_url":"https://api.github.com/repos/Insidexa/auction/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Insidexa/auction/labels{/name}","releases_url":"https://api.github.com/repos/Insidexa/auction/releases{/id}","deployments_url":"https://api.github.com/repos/Insidexa/auction/deployments","created_at":"2018-12-03T12:12:44Z","updated_at":"2018-12-03T12:20:03Z","pushed_at":"2018-12-27T13:53:17Z","git_url":"git://github.com/Insidexa/auction.git","ssh_url":"git@github.com:Insidexa/auction.git","clone_url":"https://github.com/Insidexa/auction.git","svn_url":"https://github.com/Insidexa/auction","homepage":null,"size":4638,"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":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Insidexa/auction/pulls/9"},"html":{"href":"https://github.com/Insidexa/auction/pull/9"},"issue":{"href":"https://api.github.com/repos/Insidexa/auction/issues/9"},"comments":{"href":"https://api.github.com/repos/Insidexa/auction/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Insidexa/auction/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Insidexa/auction/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Insidexa/auction/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Insidexa/auction/statuses/a4d700cbb070bd9419cace4354820bf8c0ebf0b9"}},"author_association":"OWNER"}}
{"actor":{"display_login":"GerashenkoVladimir"}}