mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 17:44:55 +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`
|
||||
const { ...rest } = camelCaseResponse;
|
||||
const { uuid, ...rest } = camelCaseResponse;
|
||||
return {
|
||||
...rest,
|
||||
productUuid: product?.uuid,
|
||||
|
||||
Reference in New Issue
Block a user