More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s
This commit is contained in:
@ -269,7 +269,7 @@ func (c *Client) execute(requestUrl string, method string, params map[string]str
|
||||
}
|
||||
|
||||
if r, ok := c.parseResponse(resBytes); ok {
|
||||
c.logger.Debug("parsed http request output", "request", "HTTP POLLING", "data", r.Data)
|
||||
c.logger.Debug("parsed http request output", "data", r.Data)
|
||||
|
||||
if r.DataName == "remoteServiceStatus" {
|
||||
var sr ServiceRequest
|
||||
|
@ -3,7 +3,6 @@ package mysubaru
|
||||
import (
|
||||
"encoding/json"
|
||||
"log/slog"
|
||||
"time"
|
||||
)
|
||||
|
||||
// Response .
|
||||
@ -275,7 +274,7 @@ type ServiceRequest struct {
|
||||
SubState string `json:"subState,omitempty"` // null
|
||||
ErrorCode string `json:"errorCode,omitempty"` // null:null
|
||||
Result json.RawMessage `json:"result,omitempty"` // struct
|
||||
UpdateTime time.Time `json:"updateTime,omitempty"` // timestamp
|
||||
UpdateTime int64 `json:"updateTime,omitempty"` // timestamp
|
||||
Vin string `json:"vin"` // 4S4BTGND8L3137058
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user