Final updates for Fortellis to pass certification and remove logging.
This commit is contained in:
@@ -11,7 +11,7 @@ const vehicletype = async (req, res) => {
|
||||
if (!model || model.trim() === "") {
|
||||
res.status(400).json({ success: false, error: "Please provide a model" });
|
||||
} else {
|
||||
|
||||
vehicle
|
||||
const type = getVehicleType(model.trim())
|
||||
res.status(200).json({ success: true, ...type });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user