mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 10:44:55 +00:00
fix build issue
This commit is contained in:
@ -84,7 +84,9 @@ export class DeviceService {
|
||||
await this.getDevicesByGroupIdTuya(getDeviceByGroupIdDto);
|
||||
const devicesDetails = await Promise.all(
|
||||
devicesIds.result.data_list.map(async (device: any) => {
|
||||
const deviceData = await this.getDevicesByDeviceId(device.dev_id);
|
||||
const deviceData = await this.getDeviceDetailsByDeviceId(
|
||||
device.dev_id,
|
||||
);
|
||||
return deviceData.result;
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user