CEC-4541: Force Config push (#355)
This commit is contained in:
committed by
GitHub
parent
f2377d9ed7
commit
a5f32151b2
@@ -173,8 +173,8 @@ const vehiclesAPI = {
|
||||
.then(fetchRespHandler)
|
||||
.catch(errorHandler),
|
||||
|
||||
updateConfig: async (vin, token) =>
|
||||
fetch(`${API_ENDPOINT}/car_config/${vin}`, {
|
||||
updateConfig: async (vin, forced, token) =>
|
||||
fetch(`${API_ENDPOINT}/car_config/${vin}?forced=${forced}`, {
|
||||
method: "POST",
|
||||
headers: Object.assign(
|
||||
{ "Content-Type": "application/json" },
|
||||
|
||||
Reference in New Issue
Block a user