{"action":"created","issue":{"url":"https://api.github.com/repos/3scale/apicast/issues/96","repository_url":"https://api.github.com/repos/3scale/apicast","labels_url":"https://api.github.com/repos/3scale/apicast/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/3scale/apicast/issues/96/comments","events_url":"https://api.github.com/repos/3scale/apicast/issues/96/events","html_url":"https://github.com/3scale/apicast/pull/96","id":181943409,"number":96,"title":"Remove double encoding for config and set content-type","user":{"login":"mayorova","id":1270328,"avatar_url":"https://avatars.githubusercontent.com/u/1270328?v=3","gravatar_id":"","url":"https://api.github.com/users/mayorova","html_url":"https://github.com/mayorova","followers_url":"https://api.github.com/users/mayorova/followers","following_url":"https://api.github.com/users/mayorova/following{/other_user}","gists_url":"https://api.github.com/users/mayorova/gists{/gist_id}","starred_url":"https://api.github.com/users/mayorova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayorova/subscriptions","organizations_url":"https://api.github.com/users/mayorova/orgs","repos_url":"https://api.github.com/users/mayorova/repos","events_url":"https://api.github.com/users/mayorova/events{/privacy}","received_events_url":"https://api.github.com/users/mayorova/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/3scale/apicast/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-10T06:19:31Z","updated_at":"2016-10-10T06:23:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/3scale/apicast/pulls/96","html_url":"https://github.com/3scale/apicast/pull/96","diff_url":"https://github.com/3scale/apicast/pull/96.diff","patch_url":"https://github.com/3scale/apicast/pull/96.patch"},"body":"- `provider.contents` is already JSON-encoded, so no need to encode it again.\r\n- adding `application/json` content type instead of the default `text/plain`"},"comment":{"url":"https://api.github.com/repos/3scale/apicast/issues/comments/252543878","html_url":"https://github.com/3scale/apicast/pull/96#issuecomment-252543878","issue_url":"https://api.github.com/repos/3scale/apicast/issues/96","id":252543878,"user":{"login":"mikz","id":154571,"avatar_url":"https://avatars.githubusercontent.com/u/154571?v=3","gravatar_id":"","url":"https://api.github.com/users/mikz","html_url":"https://github.com/mikz","followers_url":"https://api.github.com/users/mikz/followers","following_url":"https://api.github.com/users/mikz/following{/other_user}","gists_url":"https://api.github.com/users/mikz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikz/subscriptions","organizations_url":"https://api.github.com/users/mikz/orgs","repos_url":"https://api.github.com/users/mikz/repos","events_url":"https://api.github.com/users/mikz/events{/privacy}","received_events_url":"https://api.github.com/users/mikz/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T06:23:37Z","updated_at":"2016-10-10T06:23:37Z","body":"There is a test case covering it. https://github.com/3scale/apicast/blob/f0f7e8e218dcf519d40135c48217660481a425b2/t/001-management.t#L115-L132\r\nLooks like the contents could be different based on from where it is loaded?\r\nAlso some tests fail because of `nil` in lua vs `null` in json. It should do the conversion at least when it is nil so it returns correct `null`.\r\n\r\nI guess it should convert it to json when it is not string. Maybe we need some other test case for this."}}
{"actor":{"display_login":"mikz"}}