mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 23:14:54 +00:00
excluded tuya device id from response
This commit is contained in:
@ -100,7 +100,7 @@ export class SpaceDeviceService {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Exclude specific keys and add `productUuid`
|
// Exclude specific keys and add `productUuid`
|
||||||
const { ...rest } = camelCaseResponse;
|
const { uuid, ...rest } = camelCaseResponse;
|
||||||
return {
|
return {
|
||||||
...rest,
|
...rest,
|
||||||
productUuid: product?.uuid,
|
productUuid: product?.uuid,
|
||||||
|
|||||||
Reference in New Issue
Block a user