feat(pl): expose photoUrls on vehicle and personnel APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
56b94e1c5b
commit
479851ba4c
3 files changed
+53
No files matched your search
@@ -414,6 +414,7 @@ def create_vehicle(
|
||||
trailer_no=payload.trailer_no,
|
||||
load_capacity=payload.load_capacity,
|
||||
vehicle_status=payload.vehicle_status,
|
||||
photo_urls=payload.photo_urls,
|
||||
remark=payload.remark,
|
||||
create_by=user.id,
|
||||
create_dept_id=user.dept_id,
|
||||
@@ -680,6 +681,7 @@ def create_personnel(
|
||||
personnel_type=payload.personnel_type,
|
||||
personnel_affiliation=payload.personnel_affiliation,
|
||||
status=payload.status,
|
||||
photo_urls=payload.photo_urls,
|
||||
remark=payload.remark,
|
||||
create_by=user.id,
|
||||
create_dept_id=user.dept_id,
|
||||
|
||||
Reference in new issue
Block a user