weird whitespace

This commit is contained in:
Jörn-Michael Miehe 2022-09-15 22:24:32 +00:00
parent a16ff9d98c
commit 2865fd0a6d

View file

@ -67,21 +67,21 @@ async def get_ticker_content(
return ticker_content.strip() return ticker_content.strip()
@ router.get("/html") @router.get("/html")
async def get_ticker( async def get_ticker(
ticker_content: str = Depends(get_ticker_content), ticker_content: str = Depends(get_ticker_content),
) -> str: ) -> str:
return markdown(ticker_content) return markdown(ticker_content)
@ router.get("/raw") @router.get("/raw")
async def get_raw_ticker( async def get_raw_ticker(
ticker_content: str = Depends(get_ticker_content), ticker_content: str = Depends(get_ticker_content),
) -> str: ) -> str:
return ticker_content return ticker_content
@ router.get( @router.get(
"/config", "/config",
response_model=TickerUIConfig, response_model=TickerUIConfig,
) )