From d1df71b4c3d57a5c2766664a7dd6b941c50f0699 Mon Sep 17 00:00:00 2001 From: F-G Fernandez <26927750+frgfm@users.noreply.github.com> Date: Wed, 6 Dec 2023 19:50:47 +0100 Subject: [PATCH] fix: Fixes typo --- src/app/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/db.py b/src/app/db.py index 221104e..a225707 100644 --- a/src/app/db.py +++ b/src/app/db.py @@ -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)) await session.commit()