fix: adding toObject in ApiClasses
This commit is contained in:
@ -23,6 +23,13 @@ class Report {
|
||||
set reportContent(value: string | undefined) {
|
||||
this._reportContent = value;
|
||||
}
|
||||
|
||||
toObject() {
|
||||
return {
|
||||
idReport: this._idReport,
|
||||
reportContent: this._reportContent,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default Report;
|
||||
|
Reference in New Issue
Block a user