|
|
@ -64,7 +64,7 @@ public class DeviceAPIClientServiceImpl implements DeviceAPIClientService {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void modifyDevice(Device device, int tenantId) throws ExecutionException, InterruptedException {
|
|
|
|
public void modifyDevice(Device device, int tenantId) throws ExecutionException, InterruptedException {
|
|
|
|
TraccarDevice traccarDevice = new TraccarDevice(device.getId(), device.getName(), device.getDeviceIdentifier(), null,null,null,null,null,null,null,null,null);
|
|
|
|
TraccarDevice traccarDevice = new TraccarDevice(device.getId(), device.getDeviceIdentifier(), device.getName());
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
client.modifyDevice(traccarDevice, tenantId);
|
|
|
|
client.modifyDevice(traccarDevice, tenantId);
|
|
|
|
} catch (TrackerManagementDAOException e) {
|
|
|
|
} catch (TrackerManagementDAOException e) {
|
|
|
|