Last active
December 21, 2015 10:09
-
-
Save Omnipresent/6289667 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"code": 200 | |
} | |
"response": { | |
"stuff": [{ | |
"id": 1, | |
"author": "someone", | |
"book": "some book" | |
}, | |
{ | |
"id": 2, | |
"author": "some author", | |
"book": "anotherbook" | |
} | |
] | |
} | |
} | |
App.Response = DS.Model.extend({ | |
author: DS.attr("string"), | |
book: DS.attr("string") | |
}); | |
Error: Your server returned a hash with the key response but you have no mapping for it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment