mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-05 00:45:50 +08:00
When a QueueCommandQueued is marshaled in MarshalQueuedCommand, the QueueCommandQueued.DeviceUDID property rather than the CommandUUID property was copied to the protobuf CommandUuid property. Now the CommandUUID property is copied to the CommandUuid property. (#690)
Co-authored-by: Dan Lamppa <dan.lamppa@medtronic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ func MarshalQueuedCommand(cq *QueueCommandQueued) ([]byte, error) {
|
||||
}
|
||||
return proto.Marshal(&commandqueued.CommandQueued{
|
||||
DeviceUdid: cq.DeviceUDID,
|
||||
CommandUuid: cq.DeviceUDID,
|
||||
CommandUuid: cq.CommandUUID,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user