Skip to content

Commit

Permalink
🐛 Fix positional argument bug in init_db.py (fastapi#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejsdev authored Nov 29, 2023
1 parent 1388637 commit 3c70dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/app/db/init_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3c70dcb

Please sign in to comment.