Add missing arguments to show_by_obj in add
This commit is contained in:
parent
0f55007a60
commit
8dd54cccdc
@ -13,7 +13,7 @@ def add(session: sa.orm.Session, title: str):
|
||||
obj = Task(title=title)
|
||||
session.add(obj)
|
||||
session.commit()
|
||||
show_by_obj(obj)
|
||||
show_by_obj(session, obj)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user