|
|
@ -273,6 +273,9 @@ deviceModule = function () {
|
|
|
|
deviceObject[constants["DEVICE_PROPERTIES"]] = properties;
|
|
|
|
deviceObject[constants["DEVICE_PROPERTIES"]] = properties;
|
|
|
|
response["content"] = deviceObject;
|
|
|
|
response["content"] = deviceObject;
|
|
|
|
return response;
|
|
|
|
return response;
|
|
|
|
|
|
|
|
} else if (backendResponse.status == 401) {
|
|
|
|
|
|
|
|
response["status"] = "unauthorized";
|
|
|
|
|
|
|
|
return response;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
response["status"] = "error";
|
|
|
|
response["status"] = "error";
|
|
|
|
return response;
|
|
|
|
return response;
|
|
|
|