Fix incorrect method for register vehicle (POST)

This commit is contained in:
2024-02-28 04:42:31 -06:00
parent 980f4ebead
commit 0235473616

2
api.go
View File

@@ -277,7 +277,7 @@ func RegisterVehicle(formParams map[string]string, propertyId uint, residentProf
} }
// Build the request // Build the request
req := BuildRequestWithBody("GET", "/register-vehicle-vip-process", nil, strings.NewReader(body.Encode())) req := BuildRequestWithBody("POST", "/register-vehicle-vip-process", nil, strings.NewReader(body.Encode()))
SetTypicalHeaders(req, nil, nil, false) SetTypicalHeaders(req, nil, nil, false)
// Send the request // Send the request