ruff format
This commit is contained in:
parent
b47f825d54
commit
e156de22c3
5 changed files with 28 additions and 34 deletions
|
|
@ -17,9 +17,7 @@ DbPath = Annotated[Path, Depends(get_db_path)]
|
|||
|
||||
@router.get("/")
|
||||
def get_site(db_path: DbPath) -> SiteResponse:
|
||||
title = site_service.get_site_title(
|
||||
db_path, default=get_settings().site_title
|
||||
)
|
||||
title = site_service.get_site_title(db_path, default=get_settings().site_title)
|
||||
return SiteResponse(title=title)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue