{"action":"opened","issue":{"url":"https://api.github.com/repos/WizardFactory/TodayWeather/issues/534","labels_url":"https://api.github.com/repos/WizardFactory/TodayWeather/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/WizardFactory/TodayWeather/issues/534/comments","events_url":"https://api.github.com/repos/WizardFactory/TodayWeather/issues/534/events","html_url":"https://github.com/WizardFactory/TodayWeather/issues/534","id":127427632,"number":534,"title":"midRsskmaController.getData에서 존재하지 않는 변수 참조","user":{"login":"neoqmin","id":11567505,"avatar_url":"https://avatars.githubusercontent.com/u/11567505?v=3","gravatar_id":"","url":"https://api.github.com/users/neoqmin","html_url":"https://github.com/neoqmin","followers_url":"https://api.github.com/users/neoqmin/followers","following_url":"https://api.github.com/users/neoqmin/following{/other_user}","gists_url":"https://api.github.com/users/neoqmin/gists{/gist_id}","starred_url":"https://api.github.com/users/neoqmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoqmin/subscriptions","organizations_url":"https://api.github.com/users/neoqmin/orgs","repos_url":"https://api.github.com/users/neoqmin/repos","events_url":"https://api.github.com/users/neoqmin/events{/privacy}","received_events_url":"https://api.github.com/users/neoqmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"neoqmin","id":11567505,"avatar_url":"https://avatars.githubusercontent.com/u/11567505?v=3","gravatar_id":"","url":"https://api.github.com/users/neoqmin","html_url":"https://github.com/neoqmin","followers_url":"https://api.github.com/users/neoqmin/followers","following_url":"https://api.github.com/users/neoqmin/following{/other_user}","gists_url":"https://api.github.com/users/neoqmin/gists{/gist_id}","starred_url":"https://api.github.com/users/neoqmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoqmin/subscriptions","organizations_url":"https://api.github.com/users/neoqmin/orgs","repos_url":"https://api.github.com/users/neoqmin/repos","events_url":"https://api.github.com/users/neoqmin/events{/privacy}","received_events_url":"https://api.github.com/users/neoqmin/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-19T11:45:27Z","updated_at":"2016-01-19T11:45:27Z","closed_at":null,"body":"midRssKmaController.js:21\r\n```javascript\r\nmidRssKmaController.getData = function(regId, callback) {\r\n    log.input('midRssKmaController getData '+regId);\r\n\r\n    MidRssModel.find({regId:regId}, {_id: 0}).limit(1).lean().exec(function(err, midRssList) {\r\n        if (err) {\r\n            return callback(err);\r\n        }\r\n        if (midRssList.length === 0) {\r\n            err = new Error(\"Fail to find midRss regId=\"+code.cityCode);\r\n            return callback(err);\r\n        }\r\n\r\n        callback(err, midRssList[0]);\r\n    });\r\n\r\n    return this;\r\n};\r\n```\r\n위의 코드에서 code.cityCode는 없는 변수임.\r\n아래와 같이 변경 필요\r\n```javascript\r\n            err = new Error(\"Fail to find midRss regId=\"+regId);\r\n```"}}