Fixed automation bugs

This commit is contained in:
hannathkadher
2024-11-05 00:48:54 +04:00
parent aad794b2cd
commit a3eaa0fa3c
10 changed files with 227 additions and 151 deletions
@@ -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) {