More picklists
This commit is contained in:
@@ -261,8 +261,8 @@ const vehiclesAPI = {
|
||||
.catch(errorHandler)
|
||||
},
|
||||
|
||||
getAllFlashpacks: async (options, token) => {
|
||||
return fetch(addQueryParams(`${API_ENDPOINT}/flashpack_versions`, options), {
|
||||
getAllFlashpacks: async (model, trim, year, options, token) => {
|
||||
return fetch(addQueryParams(`${API_ENDPOINT}/flashpack_versions/${model}/${trim}/${year}`, options), {
|
||||
method: "GET",
|
||||
headers: Object.assign(
|
||||
{ "Content-Type": "application/json" },
|
||||
|
||||
Reference in New Issue
Block a user