Early work for saving work_logs.

This commit is contained in:
Yaro Kasear 2025-10-02 11:14:42 -05:00
parent 01c6bb3d09
commit 85b0e576c7
3 changed files with 112 additions and 87 deletions

View file

@ -191,11 +191,14 @@ def init_entry_routes(app):
"start_time",
"end_time",
"complete",
"updates",
]
}
else:
raise TypeError("Invalid model.")
print(payload)
service = crudkit.crud.get_service(cls)
service.update(id, data=payload, actor="update_entry")