CEC-5752 - Define trim as well as model for Flashpack mappings
This commit is contained in:
@@ -272,8 +272,8 @@ const vehiclesAPI = {
|
||||
.catch(errorHandler)
|
||||
},
|
||||
|
||||
getFlashpackECUMappings: async (model, year, flashpack, options, token) => {
|
||||
return fetch(addQueryParams(`${API_ENDPOINT}/flashpack_version_ecu_mappings/${model}/${year}/${flashpack}`, options), {
|
||||
getFlashpackECUMappings: async (model, trim, year, flashpack, options, token) => {
|
||||
return fetch(addQueryParams(`${API_ENDPOINT}/flashpack_version_ecu_mappings/${model}/${trim}/${year}/${flashpack}`, options), {
|
||||
method: "GET",
|
||||
headers: Object.assign(
|
||||
{ "Content-Type": "application/json" },
|
||||
|
||||
Reference in New Issue
Block a user