diff --git a/messages.go b/messages.go index 01ca788..9e5da78 100644 --- a/messages.go +++ b/messages.go @@ -986,13 +986,12 @@ type BleDevice struct { } type BleAdvertisementMessage struct { - Header MessageHeader `json:"header,omitempty"` - Devices BleDevice `json:"device,omitempty"` + Header MessageHeader `json:"header,omitempty"` + Device BleDevice `json:"device,omitempty"` } // noinspection GoUnusedExportedFunction func CreateHeader(status int, location string) MessageHeader { - // Do we have a build version? // var build BuildVersion