{"action":"closed","issue":{"url":"https://api.github.com/repos/MateMonkey/frontend/issues/14","labels_url":"https://api.github.com/repos/MateMonkey/frontend/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/MateMonkey/frontend/issues/14/comments","events_url":"https://api.github.com/repos/MateMonkey/frontend/issues/14/events","html_url":"https://github.com/MateMonkey/frontend/issues/14","id":89949219,"number":14,"title":"Can't create dealer","user":{"login":"zealot128","id":147175,"avatar_url":"https://avatars.githubusercontent.com/u/147175?v=3","gravatar_id":"","url":"https://api.github.com/users/zealot128","html_url":"https://github.com/zealot128","followers_url":"https://api.github.com/users/zealot128/followers","following_url":"https://api.github.com/users/zealot128/following{/other_user}","gists_url":"https://api.github.com/users/zealot128/gists{/gist_id}","starred_url":"https://api.github.com/users/zealot128/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zealot128/subscriptions","organizations_url":"https://api.github.com/users/zealot128/orgs","repos_url":"https://api.github.com/users/zealot128/repos","events_url":"https://api.github.com/users/zealot128/events{/privacy}","received_events_url":"https://api.github.com/users/zealot128/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MateMonkey/frontend/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/MateMonkey/frontend/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-21T19:20:10Z","updated_at":"2015-06-21T19:43:53Z","closed_at":"2015-06-21T19:43:53Z","body":"Creating a dealer via UI doesn't succeed, but the modal closes anyway.\r\n\r\nHere the request from the network tab from chrome:\r\n\r\n```\r\ncurl 'http://matemonkey.com/api/v1/dealers' -H 'Origin: http://matemonkey.com' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en,de-DE;q=0.8,de;q=0.6,en-US;q=0.4' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36' -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://matemonkey.com/map/dealer/?@=17,50.058096,8.524033' -H 'Connection: keep-alive' --data-binary '{\"name\":\"REWE\",\"type\":\"retail\",\"address\":{\"street\":\"Am Graf-de-Chardonnet-Platz\",\"number\":\"15\",\"postal\":\"65451\",\"city\":\"Kelsterbach\",\"country\":\"Deutschland\"}}' --compressed\r\n```\r\n\r\nIt shows that a \"country code\" is missing. country should be Germany?"}}