{"action":"closed","number":6033,"pull_request":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6033","id":55576541,"html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6033","diff_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6033.diff","patch_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6033.patch","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6033","number":6033,"state":"closed","locked":false,"title":"Fixes invalid JSON format data exporting","user":{"login":"bugron","id":13225220,"avatar_url":"https://avatars.githubusercontent.com/u/13225220?v=3","gravatar_id":"","url":"https://api.github.com/users/bugron","html_url":"https://github.com/bugron","followers_url":"https://api.github.com/users/bugron/followers","following_url":"https://api.github.com/users/bugron/following{/other_user}","gists_url":"https://api.github.com/users/bugron/gists{/gist_id}","starred_url":"https://api.github.com/users/bugron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugron/subscriptions","organizations_url":"https://api.github.com/users/bugron/orgs","repos_url":"https://api.github.com/users/bugron/repos","events_url":"https://api.github.com/users/bugron/events{/privacy}","received_events_url":"https://api.github.com/users/bugron/received_events","type":"User","site_admin":false},"body":"Current code exports data in an invalid format because of the last comma:\r\n![](http://i.imgur.com/FW91aD4.png)\r\n*How to reproduce*\r\nJust run `node seed/get-challenge-completion.js`.","created_at":"2016-01-10T22:42:29Z","updated_at":"2016-01-12T21:03:43Z","closed_at":"2016-01-12T21:03:43Z","merged_at":"2016-01-12T21:03:43Z","merge_commit_sha":"0e63c38ce660fb247ed2fe5ff836c2dfaa6d596b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6033/commits","review_comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6033/comments","review_comment_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6033/comments","statuses_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/statuses/904d0735f2141b87bb1fa8a269136047086649a1","head":{"label":"bugron:fix/generating-invalid-json","ref":"fix/generating-invalid-json","sha":"904d0735f2141b87bb1fa8a269136047086649a1","user":{"login":"bugron","id":13225220,"avatar_url":"https://avatars.githubusercontent.com/u/13225220?v=3","gravatar_id":"","url":"https://api.github.com/users/bugron","html_url":"https://github.com/bugron","followers_url":"https://api.github.com/users/bugron/followers","following_url":"https://api.github.com/users/bugron/following{/other_user}","gists_url":"https://api.github.com/users/bugron/gists{/gist_id}","starred_url":"https://api.github.com/users/bugron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugron/subscriptions","organizations_url":"https://api.github.com/users/bugron/orgs","repos_url":"https://api.github.com/users/bugron/repos","events_url":"https://api.github.com/users/bugron/events{/privacy}","received_events_url":"https://api.github.com/users/bugron/received_events","type":"User","site_admin":false},"repo":{"id":41158407,"name":"FreeCodeCamp","full_name":"bugron/FreeCodeCamp","owner":{"login":"bugron","id":13225220,"avatar_url":"https://avatars.githubusercontent.com/u/13225220?v=3","gravatar_id":"","url":"https://api.github.com/users/bugron","html_url":"https://github.com/bugron","followers_url":"https://api.github.com/users/bugron/followers","following_url":"https://api.github.com/users/bugron/following{/other_user}","gists_url":"https://api.github.com/users/bugron/gists{/gist_id}","starred_url":"https://api.github.com/users/bugron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugron/subscriptions","organizations_url":"https://api.github.com/users/bugron/orgs","repos_url":"https://api.github.com/users/bugron/repos","events_url":"https://api.github.com/users/bugron/events{/privacy}","received_events_url":"https://api.github.com/users/bugron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bugron/FreeCodeCamp","description":"The http://FreeCodeCamp.com open-source codebase and curriculum. Practice coding by helping nonprofits.","fork":true,"url":"https://api.github.com/repos/bugron/FreeCodeCamp","forks_url":"https://api.github.com/repos/bugron/FreeCodeCamp/forks","keys_url":"https://api.github.com/repos/bugron/FreeCodeCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bugron/FreeCodeCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bugron/FreeCodeCamp/teams","hooks_url":"https://api.github.com/repos/bugron/FreeCodeCamp/hooks","issue_events_url":"https://api.github.com/repos/bugron/FreeCodeCamp/issues/events{/number}","events_url":"https://api.github.com/repos/bugron/FreeCodeCamp/events","assignees_url":"https://api.github.com/repos/bugron/FreeCodeCamp/assignees{/user}","branches_url":"https://api.github.com/repos/bugron/FreeCodeCamp/branches{/branch}","tags_url":"https://api.github.com/repos/bugron/FreeCodeCamp/tags","blobs_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bugron/FreeCodeCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/bugron/FreeCodeCamp/languages","stargazers_url":"https://api.github.com/repos/bugron/FreeCodeCamp/stargazers","contributors_url":"https://api.github.com/repos/bugron/FreeCodeCamp/contributors","subscribers_url":"https://api.github.com/repos/bugron/FreeCodeCamp/subscribers","subscription_url":"https://api.github.com/repos/bugron/FreeCodeCamp/subscription","commits_url":"https://api.github.com/repos/bugron/FreeCodeCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/bugron/FreeCodeCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/bugron/FreeCodeCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/bugron/FreeCodeCamp/contents/{+path}","compare_url":"https://api.github.com/repos/bugron/FreeCodeCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bugron/FreeCodeCamp/merges","archive_url":"https://api.github.com/repos/bugron/FreeCodeCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bugron/FreeCodeCamp/downloads","issues_url":"https://api.github.com/repos/bugron/FreeCodeCamp/issues{/number}","pulls_url":"https://api.github.com/repos/bugron/FreeCodeCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/bugron/FreeCodeCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/bugron/FreeCodeCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bugron/FreeCodeCamp/labels{/name}","releases_url":"https://api.github.com/repos/bugron/FreeCodeCamp/releases{/id}","created_at":"2015-08-21T13:51:46Z","updated_at":"2016-01-11T18:33:03Z","pushed_at":"2016-01-12T11:49:13Z","git_url":"git://github.com/bugron/FreeCodeCamp.git","ssh_url":"git@github.com:bugron/FreeCodeCamp.git","clone_url":"https://github.com/bugron/FreeCodeCamp.git","svn_url":"https://github.com/bugron/FreeCodeCamp","homepage":"","size":20830,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"FreeCodeCamp:staging","ref":"staging","sha":"63ee1139da5ad539a1841d423d29c14ac9e45ce0","user":{"login":"FreeCodeCamp","id":9892522,"avatar_url":"https://avatars.githubusercontent.com/u/9892522?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeCodeCamp","html_url":"https://github.com/FreeCodeCamp","followers_url":"https://api.github.com/users/FreeCodeCamp/followers","following_url":"https://api.github.com/users/FreeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/FreeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/FreeCodeCamp/orgs","repos_url":"https://api.github.com/users/FreeCodeCamp/repos","events_url":"https://api.github.com/users/FreeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/FreeCodeCamp/received_events","type":"Organization","site_admin":false},"repo":{"id":28457823,"name":"FreeCodeCamp","full_name":"FreeCodeCamp/FreeCodeCamp","owner":{"login":"FreeCodeCamp","id":9892522,"avatar_url":"https://avatars.githubusercontent.com/u/9892522?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeCodeCamp","html_url":"https://github.com/FreeCodeCamp","followers_url":"https://api.github.com/users/FreeCodeCamp/followers","following_url":"https://api.github.com/users/FreeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/FreeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/FreeCodeCamp/orgs","repos_url":"https://api.github.com/users/FreeCodeCamp/repos","events_url":"https://api.github.com/users/FreeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/FreeCodeCamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp","description":"The http://FreeCodeCamp.com open source codebase and curriculum. Learn to code and help nonprofits.","fork":false,"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","forks_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/forks","keys_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/teams","hooks_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/hooks","issue_events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/events{/number}","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/events","assignees_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/assignees{/user}","branches_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/branches{/branch}","tags_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/tags","blobs_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/languages","stargazers_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/stargazers","contributors_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/contributors","subscribers_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/subscribers","subscription_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/subscription","commits_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/contents/{+path}","compare_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/merges","archive_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/downloads","issues_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues{/number}","pulls_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/labels{/name}","releases_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/releases{/id}","created_at":"2014-12-24T17:49:19Z","updated_at":"2016-01-12T21:03:36Z","pushed_at":"2016-01-12T21:03:43Z","git_url":"git://github.com/FreeCodeCamp/FreeCodeCamp.git","ssh_url":"git@github.com:FreeCodeCamp/FreeCodeCamp.git","clone_url":"https://github.com/FreeCodeCamp/FreeCodeCamp.git","svn_url":"https://github.com/FreeCodeCamp/FreeCodeCamp","homepage":"","size":29499,"stargazers_count":55862,"watchers_count":55862,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2144,"mirror_url":null,"open_issues_count":227,"forks":2144,"open_issues":227,"watchers":55862,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6033"},"html":{"href":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6033"},"issue":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6033"},"comments":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6033/comments"},"review_comments":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6033/comments"},"review_comment":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6033/commits"},"statuses":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/statuses/904d0735f2141b87bb1fa8a269136047086649a1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ltegman","id":1381313,"avatar_url":"https://avatars.githubusercontent.com/u/1381313?v=3","gravatar_id":"","url":"https://api.github.com/users/ltegman","html_url":"https://github.com/ltegman","followers_url":"https://api.github.com/users/ltegman/followers","following_url":"https://api.github.com/users/ltegman/following{/other_user}","gists_url":"https://api.github.com/users/ltegman/gists{/gist_id}","starred_url":"https://api.github.com/users/ltegman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltegman/subscriptions","organizations_url":"https://api.github.com/users/ltegman/orgs","repos_url":"https://api.github.com/users/ltegman/repos","events_url":"https://api.github.com/users/ltegman/events{/privacy}","received_events_url":"https://api.github.com/users/ltegman/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":1}}