{"action":"closed","issue":{"url":"https://api.github.com/repos/jden/showfort/issues/6","labels_url":"https://api.github.com/repos/jden/showfort/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jden/showfort/issues/6/comments","events_url":"https://api.github.com/repos/jden/showfort/issues/6/events","html_url":"https://github.com/jden/showfort/issues/6","id":12038035,"number":6,"title":"figure out why nulls are getting into fave arrays","user":{"login":"jden","id":1106489,"avatar_url":"https://avatars.githubusercontent.com/u/1106489?v=3","gravatar_id":"","url":"https://api.github.com/users/jden","html_url":"https://github.com/jden","followers_url":"https://api.github.com/users/jden/followers","following_url":"https://api.github.com/users/jden/following{/other_user}","gists_url":"https://api.github.com/users/jden/gists{/gist_id}","starred_url":"https://api.github.com/users/jden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jden/subscriptions","organizations_url":"https://api.github.com/users/jden/orgs","repos_url":"https://api.github.com/users/jden/repos","events_url":"https://api.github.com/users/jden/events{/privacy}","received_events_url":"https://api.github.com/users/jden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2013-03-14T20:45:42Z","updated_at":"2015-06-03T17:48:50Z","closed_at":"2015-06-03T17:48:50Z","body":"connecting to: linus.mongohq.com:10065/treefort\r\n> db.users.count()\r\n9\r\n> db.shows.find({faves: null})\r\n{ \"_id\" : ObjectId(\"5060c0219b88b535f2657760\"), \"comments\" : [ ], \"day\" : \"1\", \"faves\" : [ null ], \"hashtag\" : \"tfort2\", \"hour\" : \"7:00pm\", \"name\" : \"Mt St Helens Vietnam Band\", \"tags\" : [ ], \"timestamp\" : 1363917600000, \"tw\" : null, \"venue\" : \"v3\" }\r\n{ \"_id\" : ObjectId(\"b3eba24d9b19dabe96857d83\"), \"comments\" : [ ], \"day\" : \"1\", \"faves\" : [ \"stephenp\", null ], \"hashtag\" : \"tfort5\", \"hour\" : \"7:00pm\", \"name\" : \"New Transit\", \"tags\" : [ ], \"timestamp\" : 1363917600000, \"tw\" : \"NewTransitMusic\", \"venue\" : \"v8\" }\r\n{ \"_id\" : ObjectId(\"b649bdbfdda74222ba19a10a\"), \"comments\" : [ ], \"day\" : \"1\", \"faves\" : [ null, \"vhateva\" ], \"hashtag\" : \"tfort9\", \"hour\" : \"8:00pm\", \"name\" : \"Hollow Wood\", \"tags\" : [ ], \"timestamp\" : 1363921200000, \"tw\" : \"HollowWoodMusic\", \"venue\" : \"v5\" }\r\n> db.users.find({'faves.shows': ObjectId('5060c0219b88b535f2657760')\r\n... })\r\n> db.users.find({'faves.shows': ObjectId('5060c0219b88b535f2657760') })\r\n> db.shows.update({_id: ObjectId('5060c0219b88b535f2657760') }, {$pull: {faves: null}})\r\n> db.shows.findOne({_id: ObjectId('5060c0219b88b535f2657760')})\r\n{\r\n\t\"_id\" : ObjectId(\"5060c0219b88b535f2657760\"),\r\n\t\"comments\" : [ ],\r\n\t\"day\" : \"1\",\r\n\t\"faves\" : [ ],\r\n\t\"hashtag\" : \"tfort2\",\r\n\t\"hour\" : \"7:00pm\",\r\n\t\"name\" : \"Mt St Helens Vietnam Band\",\r\n\t\"tags\" : [ ],\r\n\t\"timestamp\" : 1363917600000,\r\n\t\"tw\" : null,\r\n\t\"venue\" : \"v3\"\r\n}\r\n> db.shows.update({_id: ObjectId('b3eba24d9b19dabe96857d83') }, {$pull: {faves: null}})\r\n> db.shows.update({_id: ObjectId('b649bdbfdda74222ba19a10a') }, {$pull: {faves: null}})\r\n> db.shows.find({faves: null})\r\n"}}