Fix enrolling exception in raspberry pi device type

merge-requests/1/head
charithag 9 years ago
parent 9b6f1817f9
commit 3045bc068a

@ -79,6 +79,7 @@ public class RaspberrypiManagerService {
device.setName(name);
device.setType(RaspberrypiConstants.DEVICE_TYPE);
enrolmentInfo.setOwner(owner);
device.setEnrolmentInfo(enrolmentInfo);
boolean added = deviceManagement.getDeviceManagementService().enrollDevice(device);
if (added) {
response.setStatus(Response.Status.OK.getStatusCode());

Loading…
Cancel
Save