Removed Trailing Whitespaces

This commit is contained in:
Thomas Rambach
2026-02-10 08:57:09 -05:00
parent 4fff24d36d
commit 43d7788651
4 changed files with 9 additions and 13 deletions
+4 -4
View File
@@ -34,17 +34,17 @@ async def get_setting(db: AsyncSession, key: str) -> str | None:
async def get_external_login_url(db: AsyncSession) -> str:
"""Get the external URL for the login page.
Uses external_url from settings if available, otherwise falls back to APP_URL env var.
Args:
db: Database session
Returns:
Full URL to the login page
"""
import os
external_url = await get_setting(db, "external_url")
if external_url:
external_url = external_url.rstrip("/")