fix(core): Do not serialize CredentialsEntity.shared anymore (no-changelog) (#10753)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-09-10 16:35:39 +02:00
committed by GitHub
parent d9473a5f9d
commit 8450ec5a5c
4 changed files with 30 additions and 44 deletions

View File

@@ -26,4 +26,9 @@ export class CredentialsEntity extends WithTimestampsAndStringId implements ICre
@OneToMany('SharedCredentials', 'credentials')
shared: SharedCredentials[];
toJSON() {
const { shared, ...rest } = this;
return rest;
}
}