revert-70aa11f8
harshanl 8 years ago
commit 39519800ab

@ -97,7 +97,10 @@ deviceModule = function () {
properties[constants["DEVICE_VENDOR"]] = constants["VENDOR_APPLE"]; properties[constants["DEVICE_VENDOR"]] = constants["VENDOR_APPLE"];
} }
deviceObject[constants["DEVICE_PROPERTIES"]] = properties; deviceObject[constants["DEVICE_PROPERTIES"]] = properties;
deviceObject[constants["DEVICE_INFO"]] = device["deviceInfo"]; if (device["deviceInfo"]) {
deviceObject[constants["DEVICE_INFO"]] = device["deviceInfo"];
}
response["content"] = deviceObject; response["content"] = deviceObject;
return response; return response;
} else if (backendResponse.status == 401) { } else if (backendResponse.status == 401) {

Loading…
Cancel
Save