{"action":"created","comment":{"url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/comments/180913752","pull_request_review_id":111421466,"id":180913752,"diff_hunk":"@@ -260,7 +260,11 @@ router.post('/mark_completed/:id', function(req, res, next) {\n   }).then(function(prodLine) {\n     logs.makeLog('Mark production line completed', 'Mark <a href=\"/production_lines/production_line/id/' + productionLineId + '\">' + productionLineName + '</a> as completed', req.session.username);\n \n-    res.redirect(req.baseUrl + '/production_line/id/' + productionLineId);\n+    var findAllFormulasQuery = Formula.model.find().exec();\n+    return findAllFormulasQuery;\n+  }).then(function(allFormulas) {\n+    return res.render('production_line', { productionLine: currentProdLine, formulas: allFormulas, alert: 'The lot number for this product is <TODO LOT NUMBER HERE>' });\n+    //res.redirect(req.baseUrl + '/production_line/id/' + productionLineId);","path":"routes/production_lines.js","position":9,"original_position":9,"commit_id":"27de5384b6b4cb7dab4f8985e1643f5db2c87fd5","original_commit_id":"27de5384b6b4cb7dab4f8985e1643f5db2c87fd5","user":{"login":"Lucytheanimefan","id":14322911,"avatar_url":"https://avatars3.githubusercontent.com/u/14322911?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucytheanimefan","html_url":"https://github.com/Lucytheanimefan","followers_url":"https://api.github.com/users/Lucytheanimefan/followers","following_url":"https://api.github.com/users/Lucytheanimefan/following{/other_user}","gists_url":"https://api.github.com/users/Lucytheanimefan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucytheanimefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucytheanimefan/subscriptions","organizations_url":"https://api.github.com/users/Lucytheanimefan/orgs","repos_url":"https://api.github.com/users/Lucytheanimefan/repos","events_url":"https://api.github.com/users/Lucytheanimefan/events{/privacy}","received_events_url":"https://api.github.com/users/Lucytheanimefan/received_events","type":"User","site_admin":false},"body":"@dy46 Lot number here!","created_at":"2018-04-11T22:12:47Z","updated_at":"2018-04-11T22:12:47Z","html_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals/pull/247#discussion_r180913752","pull_request_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/comments/180913752"},"html":{"href":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals/pull/247#discussion_r180913752"},"pull_request":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247"}}},"pull_request":{"url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247","id":181042394,"html_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals/pull/247","diff_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals/pull/247.diff","patch_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals/pull/247.patch","issue_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/247","number":247,"state":"open","locked":false,"title":"Show alert showing lot number when production line is mark as complete","user":{"login":"Lucytheanimefan","id":14322911,"avatar_url":"https://avatars3.githubusercontent.com/u/14322911?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucytheanimefan","html_url":"https://github.com/Lucytheanimefan","followers_url":"https://api.github.com/users/Lucytheanimefan/followers","following_url":"https://api.github.com/users/Lucytheanimefan/following{/other_user}","gists_url":"https://api.github.com/users/Lucytheanimefan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucytheanimefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucytheanimefan/subscriptions","organizations_url":"https://api.github.com/users/Lucytheanimefan/orgs","repos_url":"https://api.github.com/users/Lucytheanimefan/repos","events_url":"https://api.github.com/users/Lucytheanimefan/events{/privacy}","received_events_url":"https://api.github.com/users/Lucytheanimefan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-11T22:12:31Z","updated_at":"2018-04-11T22:12:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccf5e936b15df0f158c233ccaf7ba843ac152fdb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247/commits","review_comments_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247/comments","review_comment_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/247/comments","statuses_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/statuses/27de5384b6b4cb7dab4f8985e1643f5db2c87fd5","head":{"label":"Lucytheanimefan:production-lines","ref":"production-lines","sha":"27de5384b6b4cb7dab4f8985e1643f5db2c87fd5","user":{"login":"Lucytheanimefan","id":14322911,"avatar_url":"https://avatars3.githubusercontent.com/u/14322911?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucytheanimefan","html_url":"https://github.com/Lucytheanimefan","followers_url":"https://api.github.com/users/Lucytheanimefan/followers","following_url":"https://api.github.com/users/Lucytheanimefan/following{/other_user}","gists_url":"https://api.github.com/users/Lucytheanimefan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucytheanimefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucytheanimefan/subscriptions","organizations_url":"https://api.github.com/users/Lucytheanimefan/orgs","repos_url":"https://api.github.com/users/Lucytheanimefan/repos","events_url":"https://api.github.com/users/Lucytheanimefan/events{/privacy}","received_events_url":"https://api.github.com/users/Lucytheanimefan/received_events","type":"User","site_admin":false},"repo":{"id":117467717,"name":"ECE458-hypothetical-meals","full_name":"Lucytheanimefan/ECE458-hypothetical-meals","owner":{"login":"Lucytheanimefan","id":14322911,"avatar_url":"https://avatars3.githubusercontent.com/u/14322911?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucytheanimefan","html_url":"https://github.com/Lucytheanimefan","followers_url":"https://api.github.com/users/Lucytheanimefan/followers","following_url":"https://api.github.com/users/Lucytheanimefan/following{/other_user}","gists_url":"https://api.github.com/users/Lucytheanimefan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucytheanimefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucytheanimefan/subscriptions","organizations_url":"https://api.github.com/users/Lucytheanimefan/orgs","repos_url":"https://api.github.com/users/Lucytheanimefan/repos","events_url":"https://api.github.com/users/Lucytheanimefan/events{/privacy}","received_events_url":"https://api.github.com/users/Lucytheanimefan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals","description":"A food inventory system for ECE458 senior design. This is what we get for doing the software design class.","fork":false,"url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals","forks_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/forks","keys_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/teams","hooks_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/hooks","issue_events_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/events{/number}","events_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/events","assignees_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/assignees{/user}","branches_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/branches{/branch}","tags_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/tags","blobs_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/statuses/{sha}","languages_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/languages","stargazers_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/stargazers","contributors_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/contributors","subscribers_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/subscribers","subscription_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/subscription","commits_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/contents/{+path}","compare_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/merges","archive_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/downloads","issues_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues{/number}","pulls_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls{/number}","milestones_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/milestones{/number}","notifications_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/labels{/name}","releases_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/releases{/id}","deployments_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/deployments","created_at":"2018-01-14T21:21:54Z","updated_at":"2018-04-11T05:26:43Z","pushed_at":"2018-04-11T22:12:33Z","git_url":"git://github.com/Lucytheanimefan/ECE458-hypothetical-meals.git","ssh_url":"git@github.com:Lucytheanimefan/ECE458-hypothetical-meals.git","clone_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals.git","svn_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals","homepage":"https://hypothetical-meals.herokuapp.com","size":4250,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":23,"license":null,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"base":{"label":"Lucytheanimefan:master","ref":"master","sha":"b95f241c53ffd125d4c450f3eb18932fbd1a3eed","user":{"login":"Lucytheanimefan","id":14322911,"avatar_url":"https://avatars3.githubusercontent.com/u/14322911?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucytheanimefan","html_url":"https://github.com/Lucytheanimefan","followers_url":"https://api.github.com/users/Lucytheanimefan/followers","following_url":"https://api.github.com/users/Lucytheanimefan/following{/other_user}","gists_url":"https://api.github.com/users/Lucytheanimefan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucytheanimefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucytheanimefan/subscriptions","organizations_url":"https://api.github.com/users/Lucytheanimefan/orgs","repos_url":"https://api.github.com/users/Lucytheanimefan/repos","events_url":"https://api.github.com/users/Lucytheanimefan/events{/privacy}","received_events_url":"https://api.github.com/users/Lucytheanimefan/received_events","type":"User","site_admin":false},"repo":{"id":117467717,"name":"ECE458-hypothetical-meals","full_name":"Lucytheanimefan/ECE458-hypothetical-meals","owner":{"login":"Lucytheanimefan","id":14322911,"avatar_url":"https://avatars3.githubusercontent.com/u/14322911?v=4","gravatar_id":"","url":"https://api.github.com/users/Lucytheanimefan","html_url":"https://github.com/Lucytheanimefan","followers_url":"https://api.github.com/users/Lucytheanimefan/followers","following_url":"https://api.github.com/users/Lucytheanimefan/following{/other_user}","gists_url":"https://api.github.com/users/Lucytheanimefan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucytheanimefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucytheanimefan/subscriptions","organizations_url":"https://api.github.com/users/Lucytheanimefan/orgs","repos_url":"https://api.github.com/users/Lucytheanimefan/repos","events_url":"https://api.github.com/users/Lucytheanimefan/events{/privacy}","received_events_url":"https://api.github.com/users/Lucytheanimefan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals","description":"A food inventory system for ECE458 senior design. This is what we get for doing the software design class.","fork":false,"url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals","forks_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/forks","keys_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/teams","hooks_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/hooks","issue_events_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/events{/number}","events_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/events","assignees_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/assignees{/user}","branches_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/branches{/branch}","tags_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/tags","blobs_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/statuses/{sha}","languages_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/languages","stargazers_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/stargazers","contributors_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/contributors","subscribers_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/subscribers","subscription_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/subscription","commits_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/contents/{+path}","compare_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/merges","archive_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/downloads","issues_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues{/number}","pulls_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls{/number}","milestones_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/milestones{/number}","notifications_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/labels{/name}","releases_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/releases{/id}","deployments_url":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/deployments","created_at":"2018-01-14T21:21:54Z","updated_at":"2018-04-11T05:26:43Z","pushed_at":"2018-04-11T22:12:33Z","git_url":"git://github.com/Lucytheanimefan/ECE458-hypothetical-meals.git","ssh_url":"git@github.com:Lucytheanimefan/ECE458-hypothetical-meals.git","clone_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals.git","svn_url":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals","homepage":"https://hypothetical-meals.herokuapp.com","size":4250,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":23,"license":null,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247"},"html":{"href":"https://github.com/Lucytheanimefan/ECE458-hypothetical-meals/pull/247"},"issue":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/247"},"comments":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/Lucytheanimefan/ECE458-hypothetical-meals/statuses/27de5384b6b4cb7dab4f8985e1643f5db2c87fd5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Lucytheanimefan"}}