diff --git a/api/api/db/logic/keyring.py b/api/api/db/logic/keyring.py index 74c19ba..ad3de1b 100644 --- a/api/api/db/logic/keyring.py +++ b/api/api/db/logic/keyring.py @@ -83,9 +83,7 @@ async def create_password_key(connection: AsyncConnection, password: str | None, expiry=datetime.now(timezone.utc) + timedelta(days=365), status=KeyStatus.ACTIVE, ) - stmt.on_duplicate_key_update( - key_value=hashed_password - ) + stmt.on_duplicate_key_update(key_value=hashed_password) await connection.execute(stmt) await connection.commit()