More changes
All checks were successful
Golan Testing / testing (1.24.x, ubuntu-latest) (push) Successful in 26s

This commit is contained in:
2025-06-01 17:10:38 -04:00
parent ded46bb720
commit f959895824
2 changed files with 2 additions and 3 deletions

View File

@ -269,7 +269,7 @@ func (c *Client) execute(requestUrl string, method string, params map[string]str
} }
if r, ok := c.parseResponse(resBytes); ok { 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" { if r.DataName == "remoteServiceStatus" {
var sr ServiceRequest var sr ServiceRequest

View File

@ -3,7 +3,6 @@ package mysubaru
import ( import (
"encoding/json" "encoding/json"
"log/slog" "log/slog"
"time"
) )
// Response . // Response .
@ -275,7 +274,7 @@ type ServiceRequest struct {
SubState string `json:"subState,omitempty"` // null SubState string `json:"subState,omitempty"` // null
ErrorCode string `json:"errorCode,omitempty"` // null:null ErrorCode string `json:"errorCode,omitempty"` // null:null
Result json.RawMessage `json:"result,omitempty"` // struct 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 Vin string `json:"vin"` // 4S4BTGND8L3137058
} }