mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 21:23:36 +08:00
🐛 Fix positional argument bug in init_db.py (#562)
This commit is contained in:
parent
85de4ce362
commit
3f109aee1f
@ -23,4 +23,4 @@ def init_db(session: Session) -> None:
|
||||
password=settings.FIRST_SUPERUSER_PASSWORD,
|
||||
is_superuser=True,
|
||||
)
|
||||
user = crud.create_user(session, user_create=user_in)
|
||||
user = crud.create_user(session=session, user_create=user_in)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user