Added unit property to spotlight object in trimSpotlightObject function, enhancing the object structure for improved data handling.
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
This commit is contained in:
parent
0b3a911611
commit
3a79526eda
@ -50,6 +50,7 @@ const trimSpotlightObject = (object, objectType) => {
|
|||||||
objectType: objectType || undefined,
|
objectType: objectType || undefined,
|
||||||
online: object.online || undefined,
|
online: object.online || undefined,
|
||||||
amount: object.amount || undefined,
|
amount: object.amount || undefined,
|
||||||
|
unit: object.unit || undefined,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user