Early work for saving work_logs.
This commit is contained in:
parent
01c6bb3d09
commit
85b0e576c7
3 changed files with 112 additions and 87 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue