fix: 🐛 accounts update refactor (#1822)

* fix: 🐛 accounts update refactor

Changed `type` and `auth_method_id` on `accounts` model to `readOnly` so
it is not sent in API payload.

✅ Closes: ICU-10503

* refactor: 💡 fix test

Refactor test to not include removed attributes.

* refactor: 💡 refactor test

Fix test
This commit is contained in:
Devon Anderson authored and GitHub committed 2023-08-04 07:46:58 -04:00
1 parent ed51b6b3a9
commit c425bb7686
3 files changed
+5 -14

No files matched your search

@@ -13,11 +13,13 @@ export default class GeneratedAccountModel extends BaseModel {
// =attributes
@attr('string', {
readOnly: true,
description: 'The type of the resource, to help differentiate schemas',
})
type;
@attr('string', {
readOnly: true,
description: 'The owning auth method ID.',
})
auth_method_id;