We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1c85c9 commit e44f9e8Copy full SHA for e44f9e8
addon/utils/serialize-and-push.ts
@@ -15,7 +15,7 @@ function isValidResponse(doc: any): doc is DocWithData {
15
console.debug("Received a repsonse that doesn't have a /jsonapi/version property")
16
17
// Don't even bother if the data propery doesn't exist
18
- return typeof response.data === 'undefined';
+ return typeof response.data !== 'undefined';
19
}
20
21
export default function serializeAndPush(this: Model, response: any) {
0 commit comments