mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-13 05:45:41 +08:00
Actually include some fields in ackQueryResponses when fetching a Device to fix device query response update.
This commit is contained in:
@@ -83,7 +83,7 @@ func (svc service) checkRequeue(deviceUDID string) (int, error) {
|
||||
|
||||
// Acknowledge Queries sent with DeviceInformation command
|
||||
func (svc service) ackQueryResponses(req mdm.Response) error {
|
||||
existing, err := svc.devices.GetDeviceByUDID(req.UDID)
|
||||
existing, err := svc.devices.GetDeviceByUDID(req.UDID, []string{"device_uuid", "serial_number"}...)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user