{"action":"created","issue":{"url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/222","labels_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/222/comments","events_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/222/events","html_url":"https://github.com/jagi/meteor-astronomy/issues/222","id":122697820,"number":222,"title":"save() callback doesn't return correct id","user":{"login":"satyavh","id":3264269,"avatar_url":"https://avatars.githubusercontent.com/u/3264269?v=3","gravatar_id":"","url":"https://api.github.com/users/satyavh","html_url":"https://github.com/satyavh","followers_url":"https://api.github.com/users/satyavh/followers","following_url":"https://api.github.com/users/satyavh/following{/other_user}","gists_url":"https://api.github.com/users/satyavh/gists{/gist_id}","starred_url":"https://api.github.com/users/satyavh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satyavh/subscriptions","organizations_url":"https://api.github.com/users/satyavh/orgs","repos_url":"https://api.github.com/users/satyavh/repos","events_url":"https://api.github.com/users/satyavh/events{/privacy}","received_events_url":"https://api.github.com/users/satyavh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-17T09:42:10Z","updated_at":"2015-12-19T16:15:35Z","closed_at":"2015-12-19T14:17:17Z","body":"according to docs, the save() callback returns the doc's id:\r\n```\r\nuser.save(function(err, id) {\r\n});\r\n```\r\n\r\nhowever, it always seems to return `1`"},"comment":{"url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/comments/166000964","html_url":"https://github.com/jagi/meteor-astronomy/issues/222#issuecomment-166000964","issue_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/222","id":166000964,"user":{"login":"jagi","id":1051229,"avatar_url":"https://avatars.githubusercontent.com/u/1051229?v=3","gravatar_id":"","url":"https://api.github.com/users/jagi","html_url":"https://github.com/jagi","followers_url":"https://api.github.com/users/jagi/followers","following_url":"https://api.github.com/users/jagi/following{/other_user}","gists_url":"https://api.github.com/users/jagi/gists{/gist_id}","starred_url":"https://api.github.com/users/jagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagi/subscriptions","organizations_url":"https://api.github.com/users/jagi/orgs","repos_url":"https://api.github.com/users/jagi/repos","events_url":"https://api.github.com/users/jagi/events{/privacy}","received_events_url":"https://api.github.com/users/jagi/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T16:15:35Z","updated_at":"2015-12-19T16:15:35Z","body":"Hmm we will see how it's gonna look like in Astronomy 2.0. I'm not gonna change that behaviour in current release because of backward compatibility.\r\n\r\nNo problem!"}}