Updated the vehicles API to allow PATCH requests with an empty unit_type. This change ensures that existing records with unit_type='' can be updated without validation errors, while maintaining the default value of 'fuel' for new inserts. This adjustment resolves issues with updating pre-existing vehicle records that lack a unit_type field. |
||
|---|---|---|
| .. | ||
| pb-bootstrap-schema.cpython-314.pyc | ||