mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: mode object transform.
This commit is contained in:
@@ -31,7 +31,7 @@ export class Transformer {
|
||||
const attributes = this.getIncludeAttributesTransformed(item);
|
||||
|
||||
return {
|
||||
...!isUndefined(item.toJSON) ? item.toObject() : item,
|
||||
...!isUndefined(item.toObject) ? item.toObject() : item,
|
||||
...attributes
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user