diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb index 57ad1f5..566839f 100644 --- a/app/controllers/vehicles_controller.rb +++ b/app/controllers/vehicles_controller.rb @@ -40,7 +40,7 @@ class VehiclesController < ApplicationController @customer = @vehicle.qbo_customer.name if @vehicle.qbo_customer if @vehicle.vin? - details = @vehicles.get_details + details = @vehicle.get_details @style = details['years'][0]['styles'][0]['name'] @drive = details['drivenWheels'] @doors = details['numOfDoors']