{"action":"created","comment":{"url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/comments/43943265","id":43943265,"diff_hunk":"@@ -158,6 +158,18 @@ module.exports = function (app, io) {\n                 res.send(500);\n             }\n \n+            // check if playlist is null\n+            if ( playlist == null ) {","path":"routes.js","position":5,"original_position":5,"commit_id":"f386f23715775586419ec0e089938134b63d9539","original_commit_id":"f386f23715775586419ec0e089938134b63d9539","user":{"login":"spencer-brown","id":5354793,"avatar_url":"https://avatars.githubusercontent.com/u/5354793?v=3","gravatar_id":"","url":"https://api.github.com/users/spencer-brown","html_url":"https://github.com/spencer-brown","followers_url":"https://api.github.com/users/spencer-brown/followers","following_url":"https://api.github.com/users/spencer-brown/following{/other_user}","gists_url":"https://api.github.com/users/spencer-brown/gists{/gist_id}","starred_url":"https://api.github.com/users/spencer-brown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencer-brown/subscriptions","organizations_url":"https://api.github.com/users/spencer-brown/orgs","repos_url":"https://api.github.com/users/spencer-brown/repos","events_url":"https://api.github.com/users/spencer-brown/events{/privacy}","received_events_url":"https://api.github.com/users/spencer-brown/received_events","type":"User","site_admin":false},"body":"you should use `===` when comparing to null","created_at":"2015-11-04T21:36:53Z","updated_at":"2015-11-04T21:36:53Z","html_url":"https://github.com/izhang1/collabrativeDJ/pull/18#discussion_r43943265","pull_request_url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/comments/43943265"},"html":{"href":"https://github.com/izhang1/collabrativeDJ/pull/18#discussion_r43943265"},"pull_request":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/18","id":49717852,"html_url":"https://github.com/izhang1/collabrativeDJ/pull/18","diff_url":"https://github.com/izhang1/collabrativeDJ/pull/18.diff","patch_url":"https://github.com/izhang1/collabrativeDJ/pull/18.patch","issue_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/18","number":18,"state":"open","locked":false,"title":"Fix bugs 5 and 10 from seeded defect log","user":{"login":"leviathan747","id":2875522,"avatar_url":"https://avatars.githubusercontent.com/u/2875522?v=3","gravatar_id":"","url":"https://api.github.com/users/leviathan747","html_url":"https://github.com/leviathan747","followers_url":"https://api.github.com/users/leviathan747/followers","following_url":"https://api.github.com/users/leviathan747/following{/other_user}","gists_url":"https://api.github.com/users/leviathan747/gists{/gist_id}","starred_url":"https://api.github.com/users/leviathan747/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviathan747/subscriptions","organizations_url":"https://api.github.com/users/leviathan747/orgs","repos_url":"https://api.github.com/users/leviathan747/repos","events_url":"https://api.github.com/users/leviathan747/events{/privacy}","received_events_url":"https://api.github.com/users/leviathan747/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-04T17:18:02Z","updated_at":"2015-11-04T21:36:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f18d59b9a6e0edc7783d2278c0e7bbe1cbf6caba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/18/commits","review_comments_url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/18/comments","review_comment_url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/comments{/number}","comments_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/18/comments","statuses_url":"https://api.github.com/repos/izhang1/collabrativeDJ/statuses/f386f23715775586419ec0e089938134b63d9539","head":{"label":"izhang1:levi","ref":"levi","sha":"f386f23715775586419ec0e089938134b63d9539","user":{"login":"izhang1","id":8538962,"avatar_url":"https://avatars.githubusercontent.com/u/8538962?v=3","gravatar_id":"","url":"https://api.github.com/users/izhang1","html_url":"https://github.com/izhang1","followers_url":"https://api.github.com/users/izhang1/followers","following_url":"https://api.github.com/users/izhang1/following{/other_user}","gists_url":"https://api.github.com/users/izhang1/gists{/gist_id}","starred_url":"https://api.github.com/users/izhang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izhang1/subscriptions","organizations_url":"https://api.github.com/users/izhang1/orgs","repos_url":"https://api.github.com/users/izhang1/repos","events_url":"https://api.github.com/users/izhang1/events{/privacy}","received_events_url":"https://api.github.com/users/izhang1/received_events","type":"User","site_admin":false},"repo":{"id":42824246,"name":"collabrativeDJ","full_name":"izhang1/collabrativeDJ","owner":{"login":"izhang1","id":8538962,"avatar_url":"https://avatars.githubusercontent.com/u/8538962?v=3","gravatar_id":"","url":"https://api.github.com/users/izhang1","html_url":"https://github.com/izhang1","followers_url":"https://api.github.com/users/izhang1/followers","following_url":"https://api.github.com/users/izhang1/following{/other_user}","gists_url":"https://api.github.com/users/izhang1/gists{/gist_id}","starred_url":"https://api.github.com/users/izhang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izhang1/subscriptions","organizations_url":"https://api.github.com/users/izhang1/orgs","repos_url":"https://api.github.com/users/izhang1/repos","events_url":"https://api.github.com/users/izhang1/events{/privacy}","received_events_url":"https://api.github.com/users/izhang1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/izhang1/collabrativeDJ","description":"Collaborative DJ","fork":false,"url":"https://api.github.com/repos/izhang1/collabrativeDJ","forks_url":"https://api.github.com/repos/izhang1/collabrativeDJ/forks","keys_url":"https://api.github.com/repos/izhang1/collabrativeDJ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/izhang1/collabrativeDJ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/izhang1/collabrativeDJ/teams","hooks_url":"https://api.github.com/repos/izhang1/collabrativeDJ/hooks","issue_events_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/events{/number}","events_url":"https://api.github.com/repos/izhang1/collabrativeDJ/events","assignees_url":"https://api.github.com/repos/izhang1/collabrativeDJ/assignees{/user}","branches_url":"https://api.github.com/repos/izhang1/collabrativeDJ/branches{/branch}","tags_url":"https://api.github.com/repos/izhang1/collabrativeDJ/tags","blobs_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/refs{/sha}","trees_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/izhang1/collabrativeDJ/statuses/{sha}","languages_url":"https://api.github.com/repos/izhang1/collabrativeDJ/languages","stargazers_url":"https://api.github.com/repos/izhang1/collabrativeDJ/stargazers","contributors_url":"https://api.github.com/repos/izhang1/collabrativeDJ/contributors","subscribers_url":"https://api.github.com/repos/izhang1/collabrativeDJ/subscribers","subscription_url":"https://api.github.com/repos/izhang1/collabrativeDJ/subscription","commits_url":"https://api.github.com/repos/izhang1/collabrativeDJ/commits{/sha}","git_commits_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/commits{/sha}","comments_url":"https://api.github.com/repos/izhang1/collabrativeDJ/comments{/number}","issue_comment_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/comments{/number}","contents_url":"https://api.github.com/repos/izhang1/collabrativeDJ/contents/{+path}","compare_url":"https://api.github.com/repos/izhang1/collabrativeDJ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/izhang1/collabrativeDJ/merges","archive_url":"https://api.github.com/repos/izhang1/collabrativeDJ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/izhang1/collabrativeDJ/downloads","issues_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues{/number}","pulls_url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls{/number}","milestones_url":"https://api.github.com/repos/izhang1/collabrativeDJ/milestones{/number}","notifications_url":"https://api.github.com/repos/izhang1/collabrativeDJ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/izhang1/collabrativeDJ/labels{/name}","releases_url":"https://api.github.com/repos/izhang1/collabrativeDJ/releases{/id}","created_at":"2015-09-20T18:29:29Z","updated_at":"2015-09-24T20:13:03Z","pushed_at":"2015-11-04T17:18:03Z","git_url":"git://github.com/izhang1/collabrativeDJ.git","ssh_url":"git@github.com:izhang1/collabrativeDJ.git","clone_url":"https://github.com/izhang1/collabrativeDJ.git","svn_url":"https://github.com/izhang1/collabrativeDJ","homepage":null,"size":388,"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":"izhang1:master","ref":"master","sha":"75eec6c7c22d7933ef5957f7cc6e52744e69d7f2","user":{"login":"izhang1","id":8538962,"avatar_url":"https://avatars.githubusercontent.com/u/8538962?v=3","gravatar_id":"","url":"https://api.github.com/users/izhang1","html_url":"https://github.com/izhang1","followers_url":"https://api.github.com/users/izhang1/followers","following_url":"https://api.github.com/users/izhang1/following{/other_user}","gists_url":"https://api.github.com/users/izhang1/gists{/gist_id}","starred_url":"https://api.github.com/users/izhang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izhang1/subscriptions","organizations_url":"https://api.github.com/users/izhang1/orgs","repos_url":"https://api.github.com/users/izhang1/repos","events_url":"https://api.github.com/users/izhang1/events{/privacy}","received_events_url":"https://api.github.com/users/izhang1/received_events","type":"User","site_admin":false},"repo":{"id":42824246,"name":"collabrativeDJ","full_name":"izhang1/collabrativeDJ","owner":{"login":"izhang1","id":8538962,"avatar_url":"https://avatars.githubusercontent.com/u/8538962?v=3","gravatar_id":"","url":"https://api.github.com/users/izhang1","html_url":"https://github.com/izhang1","followers_url":"https://api.github.com/users/izhang1/followers","following_url":"https://api.github.com/users/izhang1/following{/other_user}","gists_url":"https://api.github.com/users/izhang1/gists{/gist_id}","starred_url":"https://api.github.com/users/izhang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izhang1/subscriptions","organizations_url":"https://api.github.com/users/izhang1/orgs","repos_url":"https://api.github.com/users/izhang1/repos","events_url":"https://api.github.com/users/izhang1/events{/privacy}","received_events_url":"https://api.github.com/users/izhang1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/izhang1/collabrativeDJ","description":"Collaborative DJ","fork":false,"url":"https://api.github.com/repos/izhang1/collabrativeDJ","forks_url":"https://api.github.com/repos/izhang1/collabrativeDJ/forks","keys_url":"https://api.github.com/repos/izhang1/collabrativeDJ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/izhang1/collabrativeDJ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/izhang1/collabrativeDJ/teams","hooks_url":"https://api.github.com/repos/izhang1/collabrativeDJ/hooks","issue_events_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/events{/number}","events_url":"https://api.github.com/repos/izhang1/collabrativeDJ/events","assignees_url":"https://api.github.com/repos/izhang1/collabrativeDJ/assignees{/user}","branches_url":"https://api.github.com/repos/izhang1/collabrativeDJ/branches{/branch}","tags_url":"https://api.github.com/repos/izhang1/collabrativeDJ/tags","blobs_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/refs{/sha}","trees_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/izhang1/collabrativeDJ/statuses/{sha}","languages_url":"https://api.github.com/repos/izhang1/collabrativeDJ/languages","stargazers_url":"https://api.github.com/repos/izhang1/collabrativeDJ/stargazers","contributors_url":"https://api.github.com/repos/izhang1/collabrativeDJ/contributors","subscribers_url":"https://api.github.com/repos/izhang1/collabrativeDJ/subscribers","subscription_url":"https://api.github.com/repos/izhang1/collabrativeDJ/subscription","commits_url":"https://api.github.com/repos/izhang1/collabrativeDJ/commits{/sha}","git_commits_url":"https://api.github.com/repos/izhang1/collabrativeDJ/git/commits{/sha}","comments_url":"https://api.github.com/repos/izhang1/collabrativeDJ/comments{/number}","issue_comment_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/comments{/number}","contents_url":"https://api.github.com/repos/izhang1/collabrativeDJ/contents/{+path}","compare_url":"https://api.github.com/repos/izhang1/collabrativeDJ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/izhang1/collabrativeDJ/merges","archive_url":"https://api.github.com/repos/izhang1/collabrativeDJ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/izhang1/collabrativeDJ/downloads","issues_url":"https://api.github.com/repos/izhang1/collabrativeDJ/issues{/number}","pulls_url":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls{/number}","milestones_url":"https://api.github.com/repos/izhang1/collabrativeDJ/milestones{/number}","notifications_url":"https://api.github.com/repos/izhang1/collabrativeDJ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/izhang1/collabrativeDJ/labels{/name}","releases_url":"https://api.github.com/repos/izhang1/collabrativeDJ/releases{/id}","created_at":"2015-09-20T18:29:29Z","updated_at":"2015-09-24T20:13:03Z","pushed_at":"2015-11-04T17:18:03Z","git_url":"git://github.com/izhang1/collabrativeDJ.git","ssh_url":"git@github.com:izhang1/collabrativeDJ.git","clone_url":"https://github.com/izhang1/collabrativeDJ.git","svn_url":"https://github.com/izhang1/collabrativeDJ","homepage":null,"size":388,"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/izhang1/collabrativeDJ/pulls/18"},"html":{"href":"https://github.com/izhang1/collabrativeDJ/pull/18"},"issue":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/18"},"comments":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/izhang1/collabrativeDJ/statuses/f386f23715775586419ec0e089938134b63d9539"}}}}