mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
generic fixes
This commit is contained in:
parent
d95497e804
commit
2485285a06
9 changed files with 31 additions and 36 deletions
|
|
@ -83,7 +83,7 @@ async def create_org(
|
|||
# Link user to org
|
||||
user_org = UserOrganization(
|
||||
user_id=int(current_user.id),
|
||||
org_id=int(org.id is not None),
|
||||
org_id=int(org.id if org.id else 0),
|
||||
role_id=1,
|
||||
creation_date=str(datetime.now()),
|
||||
update_date=str(datetime.now()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue