Skip to content

Commit 9d36d5a

Browse files
committed
Remove seemingly useless db commit
1 parent 49957eb commit 9d36d5a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tiled/authn_database/core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ async def initialize_database(engine: AsyncEngine) -> None:
7878
# Initialize Roles table.
7979
async with AsyncSession(engine) as db:
8080
await create_default_roles(db)
81-
db.commit()
8281

8382
async def purge_expired(db: AsyncSession, cls) -> int:
8483
"""

0 commit comments

Comments
 (0)