{"action":"created","issue":{"url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/12","labels_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/12/comments","events_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/12/events","html_url":"https://github.com/AntoineAugusti/diplo/issues/12","id":71273755,"number":12,"title":"Erreur 500 sur le endpoint des phases","user":{"login":"NathanMalo","id":9069597,"avatar_url":"https://avatars.githubusercontent.com/u/9069597?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanMalo","html_url":"https://github.com/NathanMalo","followers_url":"https://api.github.com/users/NathanMalo/followers","following_url":"https://api.github.com/users/NathanMalo/following{/other_user}","gists_url":"https://api.github.com/users/NathanMalo/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanMalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanMalo/subscriptions","organizations_url":"https://api.github.com/users/NathanMalo/orgs","repos_url":"https://api.github.com/users/NathanMalo/repos","events_url":"https://api.github.com/users/NathanMalo/events{/privacy}","received_events_url":"https://api.github.com/users/NathanMalo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AntoineAugusti/diplo/labels/api","name":"api","color":"eb6420"},{"url":"https://api.github.com/repos/AntoineAugusti/diplo/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"AntoineAugusti","id":295709,"avatar_url":"https://avatars.githubusercontent.com/u/295709?v=3","gravatar_id":"","url":"https://api.github.com/users/AntoineAugusti","html_url":"https://github.com/AntoineAugusti","followers_url":"https://api.github.com/users/AntoineAugusti/followers","following_url":"https://api.github.com/users/AntoineAugusti/following{/other_user}","gists_url":"https://api.github.com/users/AntoineAugusti/gists{/gist_id}","starred_url":"https://api.github.com/users/AntoineAugusti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntoineAugusti/subscriptions","organizations_url":"https://api.github.com/users/AntoineAugusti/orgs","repos_url":"https://api.github.com/users/AntoineAugusti/repos","events_url":"https://api.github.com/users/AntoineAugusti/events{/privacy}","received_events_url":"https://api.github.com/users/AntoineAugusti/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-04-27T12:45:03Z","updated_at":"2015-04-27T13:08:48Z","closed_at":"2015-04-27T13:08:48Z","body":"Quand on appelle le endpoint des phases, erreur 500  : \r\n015/04/27 12:43:00 [error] 25206#0: *2561 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Call to a member function diffInSeconds() on a non-object in /var/www/api/app/Http/Controllers/PartiesController.php on line 61\" while reading response header from upstream, client: 108.162.229.78, server: api.diplo-lejeu.fr, request: \"GET /parties/1/phase HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"api.diplo-lejeu.fr\""},"comment":{"url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/comments/96643694","html_url":"https://github.com/AntoineAugusti/diplo/issues/12#issuecomment-96643694","issue_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/12","id":96643694,"user":{"login":"NathanMalo","id":9069597,"avatar_url":"https://avatars.githubusercontent.com/u/9069597?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanMalo","html_url":"https://github.com/NathanMalo","followers_url":"https://api.github.com/users/NathanMalo/followers","following_url":"https://api.github.com/users/NathanMalo/following{/other_user}","gists_url":"https://api.github.com/users/NathanMalo/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanMalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanMalo/subscriptions","organizations_url":"https://api.github.com/users/NathanMalo/orgs","repos_url":"https://api.github.com/users/NathanMalo/repos","events_url":"https://api.github.com/users/NathanMalo/events{/privacy}","received_events_url":"https://api.github.com/users/NathanMalo/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T13:08:48Z","updated_at":"2015-04-27T13:08:48Z","body":"J'ai maintenant une 405, ce qui est normal :)"}}