chore: do not serialize scope or parentScope into request payloads

This commit is contained in:
Randall Morey committed 2020-07-16 12:54:29 -04:00
1 parent ae018db410
commit d847ede742
2 files changed
+10 -2

No files matched your search

@@ -6,6 +6,14 @@ import { copy } from 'ember-copy';
* Manages serialization/normalization of data to/from the API.
*/
export default class ApplicationSerializer extends RESTSerializer {
// =attributes
attrs = {
scope: { serialize: false },
parentScope: { serialize: false }
};
// =methods
/**
@@ -129,4 +137,5 @@ export default class ApplicationSerializer extends RESTSerializer {
requestType
);
}
}