{"action":"created","issue":{"url":"https://api.github.com/repos/e-government-ua/i/issues/700","labels_url":"https://api.github.com/repos/e-government-ua/i/issues/700/labels{/name}","comments_url":"https://api.github.com/repos/e-government-ua/i/issues/700/comments","events_url":"https://api.github.com/repos/e-government-ua/i/issues/700/events","html_url":"https://github.com/e-government-ua/i/pull/700","id":102750469,"number":700,"title":"Fixed error on getting cities for non-existing regions","user":{"login":"DixonD-git","id":1036478,"avatar_url":"https://avatars.githubusercontent.com/u/1036478?v=3","gravatar_id":"","url":"https://api.github.com/users/DixonD-git","html_url":"https://github.com/DixonD-git","followers_url":"https://api.github.com/users/DixonD-git/followers","following_url":"https://api.github.com/users/DixonD-git/following{/other_user}","gists_url":"https://api.github.com/users/DixonD-git/gists{/gist_id}","starred_url":"https://api.github.com/users/DixonD-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DixonD-git/subscriptions","organizations_url":"https://api.github.com/users/DixonD-git/orgs","repos_url":"https://api.github.com/users/DixonD-git/repos","events_url":"https://api.github.com/users/DixonD-git/events{/privacy}","received_events_url":"https://api.github.com/users/DixonD-git/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-24T09:42:37Z","updated_at":"2015-10-06T09:22:28Z","closed_at":"2015-10-06T09:22:12Z","pull_request":{"url":"https://api.github.com/repos/e-government-ua/i/pulls/700","html_url":"https://github.com/e-government-ua/i/pull/700","diff_url":"https://github.com/e-government-ua/i/pull/700.diff","patch_url":"https://github.com/e-government-ua/i/pull/700.patch"},"body":"Currently, the request `GET https://e-gov.org.ua/api/places/region/300/cities` returns an error: \r\n\r\n    TypeError: Cannot read property 'length' of null\r\n       at Object.module.exports.getCities (/sybase/central-js/server/api/places/index.controller.js:149:27)\r\n       at /sybase/central-js/server/api/places/index.js:46:21\r\n       at Layer.handle [as handle_request] (/sybase/central-js/node_modules/express/lib/router/layer.js:95:5)\r\n       at next (/sybase/central-js/node_modules/express/lib/router/route.js:131:13)\r\n       at Route.dispatch (/sybase/central-js/node_modules/express/lib/router/route.js:112:3)\r\n       at Layer.handle [as handle_request] (/sybase/central-js/node_modules/express/lib/router/layer.js:95:5)\r\n       at /sybase/central-js/node_modules/express/lib/router/index.js:277:22\r\n       at param (/sybase/central-js/node_modules/express/lib/router/index.js:349:14)\r\n       at param (/sybase/central-js/node_modules/express/lib/router/index.js:365:14)\r\n       at Function.process_params (/sybase/central-js/node_modules/express/lib/router/index.js:410:3) "},"comment":{"url":"https://api.github.com/repos/e-government-ua/i/issues/comments/145795901","html_url":"https://github.com/e-government-ua/i/pull/700#issuecomment-145795901","issue_url":"https://api.github.com/repos/e-government-ua/i/issues/700","id":145795901,"user":{"login":"uazure","id":456298,"avatar_url":"https://avatars.githubusercontent.com/u/456298?v=3","gravatar_id":"","url":"https://api.github.com/users/uazure","html_url":"https://github.com/uazure","followers_url":"https://api.github.com/users/uazure/followers","following_url":"https://api.github.com/users/uazure/following{/other_user}","gists_url":"https://api.github.com/users/uazure/gists{/gist_id}","starred_url":"https://api.github.com/users/uazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uazure/subscriptions","organizations_url":"https://api.github.com/users/uazure/orgs","repos_url":"https://api.github.com/users/uazure/repos","events_url":"https://api.github.com/users/uazure/events{/privacy}","received_events_url":"https://api.github.com/users/uazure/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T09:22:28Z","updated_at":"2015-10-06T09:22:28Z","body":"Duplicate for #864 "}}