mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 20:57:54 +00:00
Fixed automation bugs
This commit is contained in:
@@ -70,16 +70,10 @@ export class SubspaceDeviceService {
|
||||
|
||||
device.subspace = subspace;
|
||||
|
||||
console.log(
|
||||
'Starting to save device to subspace:',
|
||||
new Date(),
|
||||
device.subspace,
|
||||
);
|
||||
const newDevice = await this.deviceRepository.save(device);
|
||||
console.log('Device saved to subspace:', new Date(), newDevice);
|
||||
|
||||
return new SuccessResponseDto({
|
||||
data: device,
|
||||
data: newDevice,
|
||||
message: 'Successfully associated device to subspace',
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user