fix: 🐛 Add missing mirage config urls for credentials (#1209)
This commit is contained in:
1 parent
27a676774c
commit
ae0ce2bfad
4 files changed
+17
-11
No files matched your search
@@ -47,13 +47,6 @@ export default class GeneratedCredentialModel extends BaseModel {
|
||||
version;
|
||||
|
||||
// =attributes (username_password)
|
||||
@attr('string', {
|
||||
for: 'username_password',
|
||||
isNestedAttribute: true,
|
||||
description: 'The password hmac for credential.',
|
||||
})
|
||||
password_hmac;
|
||||
|
||||
@attr('string', {
|
||||
for: 'username_password',
|
||||
isNestedAttribute: true,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { copy } from 'ember-copy';
|
||||
|
||||
export default class CredentialSerializer extends ApplicationSerializer {
|
||||
serialize() {
|
||||
let serialized = super.serialize(...arguments);
|
||||
const serialized = super.serialize(...arguments);
|
||||
delete serialized['attributes']['password_hmac'];
|
||||
return serialized;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user