refactor: 💡 upgrade addons/api to Ember 3.24
This commit is contained in:
92 files changed
+1348
-621
No files matched your search
@@ -13,8 +13,8 @@ export default class UserSerializer extends ApplicationSerializer {
|
||||
serialize(snapshot) {
|
||||
let serialized = super.serialize(...arguments);
|
||||
const accountIDs = snapshot?.adapterOptions?.accountIDs;
|
||||
if (accountIDs) serialized =
|
||||
this.serializewithAccounts(snapshot, accountIDs);
|
||||
if (accountIDs)
|
||||
serialized = this.serializewithAccounts(snapshot, accountIDs);
|
||||
return serialized;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user