Browse Source

🐛 Fix positional argument bug in `init_db.py` (#562)

pull/13907/head
Alejandra 2 years ago
committed by GitHub
parent
commit
3f109aee1f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/backend/app/app/db/init_db.py

2
src/backend/app/app/db/init_db.py

@ -23,4 +23,4 @@ def init_db(session: Session) -> None:
password=settings.FIRST_SUPERUSER_PASSWORD, password=settings.FIRST_SUPERUSER_PASSWORD,
is_superuser=True, is_superuser=True,
) )
user = crud.create_user(session, user_create=user_in) user = crud.create_user(session=session, user_create=user_in)

Loading…
Cancel
Save