Car table update (#27)
This commit is contained in:
@@ -125,7 +125,7 @@ const validateCreateCarUpdates = (data) => {
|
||||
throw new Error("Package id required");
|
||||
}
|
||||
|
||||
if (!data.car_ids || data.car_ids.length === 0) {
|
||||
if (!data.vins || data.vins.length === 0) {
|
||||
throw new Error("Car ids required");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user