Newer clients provide DeviceName in their checkin message, so this has been added to the checkin service.

This commit is contained in:
Mosen
2016-06-29 16:06:35 +10:00
committed by Victor Vrantchan
parent e2492daddc
commit 3ca4e954e8

View File

@@ -58,6 +58,7 @@ func (svc service) Authenticate(cmd mdm.CheckinCommand) error {
IMEI: cmd.IMEI,
MEID: cmd.MEID,
MDMTopic: cmd.Topic,
DeviceName: cmd.DeviceName,
}
_, err := svc.devices.New("authenticate", dev)