fix: adding toObject in ApiClasses
This commit is contained in:
@ -27,6 +27,13 @@ class JoinRequest {
|
||||
set entrepreneur(value: UserEntrepreneur | undefined) {
|
||||
this._entrepreneur = value;
|
||||
}
|
||||
|
||||
toObject() {
|
||||
return {
|
||||
idProject: this.idProject,
|
||||
entrepreneur: this.entrepreneur,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default JoinRequest;
|
||||
|
Reference in New Issue
Block a user