mirror of
https://github.com/Xevion/r2park.git
synced 2025-12-06 01:15:57 -06:00
Fix incorrect method for register vehicle (POST)
This commit is contained in:
2
api.go
2
api.go
@@ -277,7 +277,7 @@ func RegisterVehicle(formParams map[string]string, propertyId uint, residentProf
|
||||
}
|
||||
|
||||
// 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)
|
||||
|
||||
// Send the request
|
||||
|
||||
Reference in New Issue
Block a user