Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
fix: Fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Dec 6, 2023
1 parent 50eeb16 commit d1df71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ async def init_db():
results = await session.execute(statement=statement)
current_user = results.scalar_one_or_none()
if not current_user:
pwd = await hash_password(settings.SUPERUSER_PWD)
pwd = await hash_password(settings.SUPERADMIN_PWD)
session.add(User(id=gh_user["id"], login=gh_user["login"], hashed_password=pwd, scope=UserScope.ADMIN))

Check warning on line 40 in src/app/db.py

View check run for this annotation

Codecov / codecov/patch

src/app/db.py#L39-L40

Added lines #L39 - L40 were not covered by tests
await session.commit()

0 comments on commit d1df71b

Please sign in to comment.