Add vin field vehicle data
This commit is contained in:
@@ -99,6 +99,7 @@ func UpdateVehicle(vehicleID string, model models.UpdateVehicleRequest) error {
|
||||
//return db.DB.Model(&toUpdate).Updates(db.Vehicle{
|
||||
toUpdate.Nickname = model.Nickname
|
||||
toUpdate.Registration = model.Registration
|
||||
toUpdate.VIN = model.VIN
|
||||
toUpdate.Model = model.Model
|
||||
toUpdate.Make = model.Make
|
||||
toUpdate.YearOfManufacture = model.YearOfManufacture
|
||||
|
||||
Reference in New Issue
Block a user