From c9a65e6b7d0ce1abb233f6e4e5f8c944a7b31e42 Mon Sep 17 00:00:00 2001 From: Deenath Geegange Date: Fri, 25 Nov 2022 09:24:35 +0530 Subject: [PATCH] fixed incorrect TraccarDevice constructor --- .../device/mgt/core/traccar/common/beans/TraccarDevice.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/common/beans/TraccarDevice.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/common/beans/TraccarDevice.java index f045701b5b..7464876664 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/common/beans/TraccarDevice.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/traccar/common/beans/TraccarDevice.java @@ -55,9 +55,9 @@ public class TraccarDevice { this.category =category; } - public TraccarDevice(int id, String deviceIdentifier, String deviceName) { + public TraccarDevice(int id, String uniqueId, String deviceName) { this.id = id; - this.deviceIdentifier = deviceIdentifier; + this.uniqueId = uniqueId; this.deviceName = deviceName; }