mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-08-26 07:59:38 +00:00
finished soft delete devices
This commit is contained in:
@ -298,6 +298,7 @@ export class ScheduleService {
|
||||
return await this.deviceRepository.findOne({
|
||||
where: {
|
||||
uuid: deviceUuid,
|
||||
isActive: true,
|
||||
},
|
||||
...(withProductDevice && { relations: ['productDevice'] }),
|
||||
});
|
||||
|
Reference in New Issue
Block a user