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

This commit is contained in:
Tom Butcher 2026-07-26 20:03:06 +01:00
parent 0b3a911611
commit 3a79526eda

View File

@ -50,6 +50,7 @@ const trimSpotlightObject = (object, objectType) => {
objectType: objectType || undefined,
online: object.online || undefined,
amount: object.amount || undefined,
unit: object.unit || undefined,
};
};