More picklists
This commit is contained in:
@@ -291,11 +291,11 @@ export const VehicleProvider = ({ children }) => {
|
||||
}
|
||||
};
|
||||
|
||||
const getAllFlashpacks = async (options, token) => {
|
||||
const getAllFlashpacks = async (model, trim, year, options, token) => {
|
||||
try {
|
||||
setBusy(true);
|
||||
|
||||
const result = await api.getAllFlashpacks(options, token);
|
||||
const result = await api.getAllFlashpacks(model, trim, year, options, token);
|
||||
if (result.error) {
|
||||
throw new Error(`Get all flashpacks error. ${result.message}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user