{"action":"opened","issue":{"url":"https://api.github.com/repos/ember-cli/ember-ajax/issues/125","repository_url":"https://api.github.com/repos/ember-cli/ember-ajax","labels_url":"https://api.github.com/repos/ember-cli/ember-ajax/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-ajax/issues/125/comments","events_url":"https://api.github.com/repos/ember-cli/ember-ajax/issues/125/events","html_url":"https://github.com/ember-cli/ember-ajax/issues/125","id":162517528,"number":125,"title":"If payload evaluates falsey but is not null or undefined, don't transform payload. ","user":{"login":"SteelBurgher","id":9545110,"avatar_url":"https://avatars.githubusercontent.com/u/9545110?v=3","gravatar_id":"","url":"https://api.github.com/users/SteelBurgher","html_url":"https://github.com/SteelBurgher","followers_url":"https://api.github.com/users/SteelBurgher/followers","following_url":"https://api.github.com/users/SteelBurgher/following{/other_user}","gists_url":"https://api.github.com/users/SteelBurgher/gists{/gist_id}","starred_url":"https://api.github.com/users/SteelBurgher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteelBurgher/subscriptions","organizations_url":"https://api.github.com/users/SteelBurgher/orgs","repos_url":"https://api.github.com/users/SteelBurgher/repos","events_url":"https://api.github.com/users/SteelBurgher/events{/privacy}","received_events_url":"https://api.github.com/users/SteelBurgher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-27T18:31:47Z","updated_at":"2016-06-27T18:31:47Z","closed_at":null,"body":"This line from ajax-request.js reassigns a payload like the number 0 to an object. \r\n`payload = payload || {};`\r\n\r\nAlthough you can make the solid argument that api responses should follow specifications like JSON-API, and never simply return numbers, if a developer wishes to send a response this way, I think it's worthwhile for ember-ajax to accommodate that. "}}
{"actor":{"display_login":"SteelBurgher"}}