fix(core): Do not serialize CredentialsEntity.shared anymore (no-changelog) (#10753)
This commit is contained in:
committed by
GitHub
parent
d9473a5f9d
commit
8450ec5a5c
@@ -26,4 +26,9 @@ export class CredentialsEntity extends WithTimestampsAndStringId implements ICre
|
||||
|
||||
@OneToMany('SharedCredentials', 'credentials')
|
||||
shared: SharedCredentials[];
|
||||
|
||||
toJSON() {
|
||||
const { shared, ...rest } = this;
|
||||
return rest;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user