temperature -> temp
This commit is contained in:
parent
21aa735d51
commit
d96ada276d
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ func ParseMsg(msg string) (*Message, error) {
|
|||
}
|
||||
|
||||
type Message1DTO struct {
|
||||
Temperature float32 `json:"temperature"`
|
||||
Temperature float32 `json:"temp"`
|
||||
Humidity float32 `json:"humidity"`
|
||||
Pressure float32 `json:"pressure"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue