fix: 🐛 Remove json_object from payload for non-json credentials (#1576)
* fix: 🐛 Remove json_object from payload for non-json credentials * refactor: 💡 update new route logic for type specific attributes * test: 💍 remove typeIn and use fillIn for json credential test
This commit is contained in:
1 parent
f7c80c8869
commit
b02dc0aa43
4 files changed
+92
-6
No files matched your search
@@ -25,6 +25,8 @@ export default class CredentialSerializer extends ApplicationSerializer {
|
||||
);
|
||||
delete serialized.attributes.json_object;
|
||||
}
|
||||
} else {
|
||||
delete serialized.attributes.json_object;
|
||||
}
|
||||
|
||||
return serialized;
|
||||
|
||||
Reference in new issue
Block a user