fix: adding toObject in ApiClasses
Some checks failed
Format / formatting (push) Successful in 7s
Build / build (push) Successful in 44s
CI / build (push) Failing after 12s
Format / formatting (pull_request) Successful in 6s

This commit is contained in:
2025-04-29 22:15:20 +02:00
parent 8ec569e6ff
commit 5130c00796
8 changed files with 63 additions and 0 deletions

View File

@ -36,6 +36,15 @@ class UserEntrepreneur extends User {
set sneeStatus(value: boolean | undefined) {
this._sneeStatus = value;
}
toObject() {
return {
...super.toObject(),
school: this._school,
course: this._course,
sneeStatus: this._sneeStatus,
};
}
}
export default UserEntrepreneur;