Compare commits
No commits in common. "main" and "copilot/support-attachments-for-entries" have entirely different histories.
main
...
copilot/su
3 changed files with 5 additions and 3 deletions
|
|
@ -576,8 +576,7 @@ def fuel_records(vehicle_id):
|
|||
distance=distance,
|
||||
fuel_economy=fuel_economy,
|
||||
unit=data.get('unit', 'MPG'),
|
||||
notes=data.get('notes'),
|
||||
document_path=data.get('document_path')
|
||||
notes=data.get('notes')
|
||||
)
|
||||
db.session.add(record)
|
||||
db.session.commit()
|
||||
|
|
@ -866,7 +865,6 @@ def service_record_operations(vehicle_id, record_id):
|
|||
record.category = data.get('category', record.category)
|
||||
record.cost = data.get('cost', record.cost)
|
||||
record.notes = data.get('notes', record.notes)
|
||||
record.document_path = data.get('document_path', record.document_path)
|
||||
db.session.commit()
|
||||
return jsonify({'message': 'Service record updated successfully'})
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
masina-dock:
|
||||
build:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
masina-dock:
|
||||
image: ghcr.io/aiulian25/masina-dock:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue