{"action":"created","comment":{"url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/comments/184279729","pull_request_review_id":115441485,"id":184279729,"diff_hunk":"@@ -37,6 +39,61 @@ const OrderController = {\n       return res.status(200).send(order);\n     });\n   },\n+  modifyOrderMade(req, res) {\n+    const menuData = fs.readFileSync(path.join(`${__dirname}/../database/menuDatabase.json`));\n+    const menuParsed = JSON.parse(menuData);\n+    const orderData = fs.readFileSync(path.join(`${__dirname}/../database/orderDatabase.json`));","path":"server/controllers/OrderController.js","position":36,"original_position":36,"commit_id":"c68b20e7fc9afbe918b47de42ab9d8aef5dcd705","original_commit_id":"c68b20e7fc9afbe918b47de42ab9d8aef5dcd705","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":"'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).<br>'template literal syntax' is only available in ES6 (use 'esversion: 6').","created_at":"2018-04-26T06:16:30Z","updated_at":"2018-04-26T06:16:31Z","html_url":"https://github.com/Nkemjiks/book-a-meal-app/pull/22#discussion_r184279729","pull_request_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/comments/184279729"},"html":{"href":"https://github.com/Nkemjiks/book-a-meal-app/pull/22#discussion_r184279729"},"pull_request":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22","id":184236043,"html_url":"https://github.com/Nkemjiks/book-a-meal-app/pull/22","diff_url":"https://github.com/Nkemjiks/book-a-meal-app/pull/22.diff","patch_url":"https://github.com/Nkemjiks/book-a-meal-app/pull/22.patch","issue_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/22","number":22,"state":"open","locked":false,"title":"Modify orders API","user":{"login":"Nkemjiks","id":32465536,"avatar_url":"https://avatars0.githubusercontent.com/u/32465536?v=4","gravatar_id":"","url":"https://api.github.com/users/Nkemjiks","html_url":"https://github.com/Nkemjiks","followers_url":"https://api.github.com/users/Nkemjiks/followers","following_url":"https://api.github.com/users/Nkemjiks/following{/other_user}","gists_url":"https://api.github.com/users/Nkemjiks/gists{/gist_id}","starred_url":"https://api.github.com/users/Nkemjiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nkemjiks/subscriptions","organizations_url":"https://api.github.com/users/Nkemjiks/orgs","repos_url":"https://api.github.com/users/Nkemjiks/repos","events_url":"https://api.github.com/users/Nkemjiks/events{/privacy}","received_events_url":"https://api.github.com/users/Nkemjiks/received_events","type":"User","site_admin":false},"body":"- Created the API to modify an order made\r\n- Updated the routes folder\r\n- Updated the README to add code climate and coverall badges\r\n- Updated the menu controller file\r\n\r\n[Finishes #156910940]","created_at":"2018-04-26T06:16:17Z","updated_at":"2018-04-26T06:16:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1196b2bb7cbbb38210039e77378871c7fdfc0dcf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/22/comments","statuses_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/statuses/c68b20e7fc9afbe918b47de42ab9d8aef5dcd705","head":{"label":"Nkemjiks:ft-modify-an-order-156910940","ref":"ft-modify-an-order-156910940","sha":"c68b20e7fc9afbe918b47de42ab9d8aef5dcd705","user":{"login":"Nkemjiks","id":32465536,"avatar_url":"https://avatars0.githubusercontent.com/u/32465536?v=4","gravatar_id":"","url":"https://api.github.com/users/Nkemjiks","html_url":"https://github.com/Nkemjiks","followers_url":"https://api.github.com/users/Nkemjiks/followers","following_url":"https://api.github.com/users/Nkemjiks/following{/other_user}","gists_url":"https://api.github.com/users/Nkemjiks/gists{/gist_id}","starred_url":"https://api.github.com/users/Nkemjiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nkemjiks/subscriptions","organizations_url":"https://api.github.com/users/Nkemjiks/orgs","repos_url":"https://api.github.com/users/Nkemjiks/repos","events_url":"https://api.github.com/users/Nkemjiks/events{/privacy}","received_events_url":"https://api.github.com/users/Nkemjiks/received_events","type":"User","site_admin":false},"repo":{"id":129936217,"name":"book-a-meal-app","full_name":"Nkemjiks/book-a-meal-app","owner":{"login":"Nkemjiks","id":32465536,"avatar_url":"https://avatars0.githubusercontent.com/u/32465536?v=4","gravatar_id":"","url":"https://api.github.com/users/Nkemjiks","html_url":"https://github.com/Nkemjiks","followers_url":"https://api.github.com/users/Nkemjiks/followers","following_url":"https://api.github.com/users/Nkemjiks/following{/other_user}","gists_url":"https://api.github.com/users/Nkemjiks/gists{/gist_id}","starred_url":"https://api.github.com/users/Nkemjiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nkemjiks/subscriptions","organizations_url":"https://api.github.com/users/Nkemjiks/orgs","repos_url":"https://api.github.com/users/Nkemjiks/repos","events_url":"https://api.github.com/users/Nkemjiks/events{/privacy}","received_events_url":"https://api.github.com/users/Nkemjiks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nkemjiks/book-a-meal-app","description":"Book-A-Meal is an application that allows customers to make food orders and helps the food vendor know what the customers want to eat. ","fork":false,"url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app","forks_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/forks","keys_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/teams","hooks_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/hooks","issue_events_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/events{/number}","events_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/events","assignees_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/assignees{/user}","branches_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/branches{/branch}","tags_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/tags","blobs_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/languages","stargazers_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/stargazers","contributors_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/contributors","subscribers_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/subscribers","subscription_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/subscription","commits_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/contents/{+path}","compare_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/merges","archive_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/downloads","issues_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues{/number}","pulls_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/labels{/name}","releases_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/releases{/id}","deployments_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/deployments","created_at":"2018-04-17T16:44:32Z","updated_at":"2018-04-25T18:02:39Z","pushed_at":"2018-04-26T06:16:18Z","git_url":"git://github.com/Nkemjiks/book-a-meal-app.git","ssh_url":"git@github.com:Nkemjiks/book-a-meal-app.git","clone_url":"https://github.com/Nkemjiks/book-a-meal-app.git","svn_url":"https://github.com/Nkemjiks/book-a-meal-app","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"base":{"label":"Nkemjiks:development","ref":"development","sha":"fbd06ea153a7a4b5787d4389d1e91234f317d950","user":{"login":"Nkemjiks","id":32465536,"avatar_url":"https://avatars0.githubusercontent.com/u/32465536?v=4","gravatar_id":"","url":"https://api.github.com/users/Nkemjiks","html_url":"https://github.com/Nkemjiks","followers_url":"https://api.github.com/users/Nkemjiks/followers","following_url":"https://api.github.com/users/Nkemjiks/following{/other_user}","gists_url":"https://api.github.com/users/Nkemjiks/gists{/gist_id}","starred_url":"https://api.github.com/users/Nkemjiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nkemjiks/subscriptions","organizations_url":"https://api.github.com/users/Nkemjiks/orgs","repos_url":"https://api.github.com/users/Nkemjiks/repos","events_url":"https://api.github.com/users/Nkemjiks/events{/privacy}","received_events_url":"https://api.github.com/users/Nkemjiks/received_events","type":"User","site_admin":false},"repo":{"id":129936217,"name":"book-a-meal-app","full_name":"Nkemjiks/book-a-meal-app","owner":{"login":"Nkemjiks","id":32465536,"avatar_url":"https://avatars0.githubusercontent.com/u/32465536?v=4","gravatar_id":"","url":"https://api.github.com/users/Nkemjiks","html_url":"https://github.com/Nkemjiks","followers_url":"https://api.github.com/users/Nkemjiks/followers","following_url":"https://api.github.com/users/Nkemjiks/following{/other_user}","gists_url":"https://api.github.com/users/Nkemjiks/gists{/gist_id}","starred_url":"https://api.github.com/users/Nkemjiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nkemjiks/subscriptions","organizations_url":"https://api.github.com/users/Nkemjiks/orgs","repos_url":"https://api.github.com/users/Nkemjiks/repos","events_url":"https://api.github.com/users/Nkemjiks/events{/privacy}","received_events_url":"https://api.github.com/users/Nkemjiks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nkemjiks/book-a-meal-app","description":"Book-A-Meal is an application that allows customers to make food orders and helps the food vendor know what the customers want to eat. ","fork":false,"url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app","forks_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/forks","keys_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/teams","hooks_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/hooks","issue_events_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/events{/number}","events_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/events","assignees_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/assignees{/user}","branches_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/branches{/branch}","tags_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/tags","blobs_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/languages","stargazers_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/stargazers","contributors_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/contributors","subscribers_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/subscribers","subscription_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/subscription","commits_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/contents/{+path}","compare_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/merges","archive_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/downloads","issues_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues{/number}","pulls_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/labels{/name}","releases_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/releases{/id}","deployments_url":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/deployments","created_at":"2018-04-17T16:44:32Z","updated_at":"2018-04-25T18:02:39Z","pushed_at":"2018-04-26T06:16:18Z","git_url":"git://github.com/Nkemjiks/book-a-meal-app.git","ssh_url":"git@github.com:Nkemjiks/book-a-meal-app.git","clone_url":"https://github.com/Nkemjiks/book-a-meal-app.git","svn_url":"https://github.com/Nkemjiks/book-a-meal-app","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22"},"html":{"href":"https://github.com/Nkemjiks/book-a-meal-app/pull/22"},"issue":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/22"},"comments":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Nkemjiks/book-a-meal-app/statuses/c68b20e7fc9afbe918b47de42ab9d8aef5dcd705"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}