Map VIN number to db model from request model when creating vehicle

This commit is contained in:
Alf Sebastian Houge
2022-04-28 17:36:13 +02:00
parent 8410674841
commit c00c6bc776

View File

@@ -13,6 +13,7 @@ func CreateVehicle(model models.CreateVehicleRequest, userId string) (*db.Vehicl
Nickname: model.Nickname,
Registration: model.Registration,
Model: model.Model,
VIN: model.VIN,
Make: model.Make,
YearOfManufacture: model.YearOfManufacture,
EngineSize: model.EngineSize,