Skip to content

Commit

Permalink
Ford: fix status HTTP 403
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Sep 15, 2023
1 parent 8e3396d commit 3a5d2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vehicle/ford/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (v *API) RefreshRequest(vin string) (string, error) {
CommandId string
}

uri := fmt.Sprintf("%s/api/vehicles/v2/%s/status", ApiURI, vin)
uri := fmt.Sprintf("%s/api/vehicles/v5/%s/status", ApiURI, vin)
req, err := http.NewRequest(http.MethodPut, uri, nil)
if err == nil {
err = v.DoJSON(req, &resp)
Expand Down

0 comments on commit 3a5d2c4

Please sign in to comment.