{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Docs/issues/259","labels_url":"https://api.github.com/repos/ParsePlatform/Docs/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Docs/issues/259/comments","events_url":"https://api.github.com/repos/ParsePlatform/Docs/issues/259/events","html_url":"https://github.com/ParsePlatform/Docs/issues/259","id":116990973,"number":259,"title":"Bugs in code example for Sessions help","user":{"login":"simonbogh","id":10414639,"avatar_url":"https://avatars.githubusercontent.com/u/10414639?v=3","gravatar_id":"","url":"https://api.github.com/users/simonbogh","html_url":"https://github.com/simonbogh","followers_url":"https://api.github.com/users/simonbogh/followers","following_url":"https://api.github.com/users/simonbogh/following{/other_user}","gists_url":"https://api.github.com/users/simonbogh/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbogh/subscriptions","organizations_url":"https://api.github.com/users/simonbogh/orgs","repos_url":"https://api.github.com/users/simonbogh/repos","events_url":"https://api.github.com/users/simonbogh/events{/privacy}","received_events_url":"https://api.github.com/users/simonbogh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-15T12:47:00Z","updated_at":"2015-11-16T20:29:38Z","closed_at":null,"body":"There seems to be a couple of bugs in the code example the documentation for Sessions\r\nhttps://github.com/ParsePlatform/Docs/blob/9f5943b581967eef19e203641e664440a3683a07/en/common/sessions.mdown\r\n\r\n1) The method **handleParseError** in the interface is named **handleError** in the implementation. \r\n\r\n2) The **Option # 2: Show login screen so user can re-authenticate.** has a **[** too many in the first line `UIViewController *presentingViewController = [[UIApplication sharedApplication].keyWindow.rootViewController;` "},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Docs/issues/comments/157160409","html_url":"https://github.com/ParsePlatform/Docs/issues/259#issuecomment-157160409","issue_url":"https://api.github.com/repos/ParsePlatform/Docs/issues/259","id":157160409,"user":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T20:29:38Z","updated_at":"2015-11-16T20:29:38Z","body":"Thanks for catching these. Put up a Pull Request to fix it.\r\nNext time you see one of them - feel free to simply send a PR and I'll gladly review it."}}