{"action":"created","issue":{"url":"https://api.github.com/repos/loomio/loomio/issues/2570","labels_url":"https://api.github.com/repos/loomio/loomio/issues/2570/labels{/name}","comments_url":"https://api.github.com/repos/loomio/loomio/issues/2570/comments","events_url":"https://api.github.com/repos/loomio/loomio/issues/2570/events","html_url":"https://github.com/loomio/loomio/pull/2570","id":110862961,"number":2570,"title":"Simplify my_votes endpoint","user":{"login":"gdpelican","id":750477,"avatar_url":"https://avatars.githubusercontent.com/u/750477?v=3","gravatar_id":"","url":"https://api.github.com/users/gdpelican","html_url":"https://github.com/gdpelican","followers_url":"https://api.github.com/users/gdpelican/followers","following_url":"https://api.github.com/users/gdpelican/following{/other_user}","gists_url":"https://api.github.com/users/gdpelican/gists{/gist_id}","starred_url":"https://api.github.com/users/gdpelican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdpelican/subscriptions","organizations_url":"https://api.github.com/users/gdpelican/orgs","repos_url":"https://api.github.com/users/gdpelican/repos","events_url":"https://api.github.com/users/gdpelican/events{/privacy}","received_events_url":"https://api.github.com/users/gdpelican/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-11T15:23:11Z","updated_at":"2015-10-11T20:16:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/loomio/loomio/pulls/2570","html_url":"https://github.com/loomio/loomio/pull/2570","diff_url":"https://github.com/loomio/loomio/pull/2570.diff","patch_url":"https://github.com/loomio/loomio/pull/2570.patch"},"body":"Hey @robguthrie I'd be interested in hearing your thoughts on this, as it relates to side loading records we need from the store.\r\n\r\nHere I'm loading up the current user's vote when the discussion a) is being loaded with a reader, and b) has a current proposal, but I wonder if there's a better way?\r\n\r\n(This should, btw, fix the weird bug where people's votes aren't being loaded correctly on the dashboard sometimes... basically I don't trust the `my_votes` endpoint very much at the moment.)\r\n\r\n(Also don't merge me; I'm just pushing this up now to see how the tests fare)"},"comment":{"url":"https://api.github.com/repos/loomio/loomio/issues/comments/147241854","html_url":"https://github.com/loomio/loomio/pull/2570#issuecomment-147241854","issue_url":"https://api.github.com/repos/loomio/loomio/issues/2570","id":147241854,"user":{"login":"robguthrie","id":486367,"avatar_url":"https://avatars.githubusercontent.com/u/486367?v=3","gravatar_id":"","url":"https://api.github.com/users/robguthrie","html_url":"https://github.com/robguthrie","followers_url":"https://api.github.com/users/robguthrie/followers","following_url":"https://api.github.com/users/robguthrie/following{/other_user}","gists_url":"https://api.github.com/users/robguthrie/gists{/gist_id}","starred_url":"https://api.github.com/users/robguthrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robguthrie/subscriptions","organizations_url":"https://api.github.com/users/robguthrie/orgs","repos_url":"https://api.github.com/users/robguthrie/repos","events_url":"https://api.github.com/users/robguthrie/events{/privacy}","received_events_url":"https://api.github.com/users/robguthrie/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T20:16:13Z","updated_at":"2015-10-11T20:16:13Z","body":"Overall I think it's very neat. Nice improvement. I wonder if there is any behaviour change due to this."}}