{"action":"opened","issue":{"url":"https://api.github.com/repos/miquelalcon/mean/issues/10","repository_url":"https://api.github.com/repos/miquelalcon/mean","labels_url":"https://api.github.com/repos/miquelalcon/mean/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/miquelalcon/mean/issues/10/comments","events_url":"https://api.github.com/repos/miquelalcon/mean/issues/10/events","html_url":"https://github.com/miquelalcon/mean/issues/10","id":242295979,"number":10,"title":"quote.api.service","user":{"login":"Samitier","id":4160121,"avatar_url":"https://avatars1.githubusercontent.com/u/4160121?v=3","gravatar_id":"","url":"https://api.github.com/users/Samitier","html_url":"https://github.com/Samitier","followers_url":"https://api.github.com/users/Samitier/followers","following_url":"https://api.github.com/users/Samitier/following{/other_user}","gists_url":"https://api.github.com/users/Samitier/gists{/gist_id}","starred_url":"https://api.github.com/users/Samitier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samitier/subscriptions","organizations_url":"https://api.github.com/users/Samitier/orgs","repos_url":"https://api.github.com/users/Samitier/repos","events_url":"https://api.github.com/users/Samitier/events{/privacy}","received_events_url":"https://api.github.com/users/Samitier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-12T08:15:54Z","updated_at":"2017-07-12T08:15:54Z","closed_at":null,"body":"tens repetit el switch dels errors al mètode login. \r\n\r\nTal com ho tens potser no et cal un switch tampoc. Podries fer:\r\n```ts\r\nprivate catchError(error) {\r\n    if (error.status === 200) return\r\n    this.router.navigate([ error.status ], { skipLocationChange: true })\r\n}\r\n```\r\n\r\n"}}
{"actor":{"display_login":"Samitier"}}