formatting

This commit is contained in:
dni ⚡ 2023-01-02 11:25:57 +01:00
parent 3824a108aa
commit ff274e4eac
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
from fastapi import Request, Depends
from fastapi import Depends, Request
from fastapi.templating import Jinja2Templates
from starlette.responses import HTMLResponse

View File

@ -1,6 +1,6 @@
from http import HTTPStatus
from fastapi import Query, Depends
from fastapi import Depends, Query
from starlette.exceptions import HTTPException
from lnbits.core.crud import get_user
@ -40,9 +40,7 @@ async def api_links(
@scrub_ext.get("/api/v1/links/{link_id}", status_code=HTTPStatus.OK)
async def api_link_retrieve(
link_id, wallet: WalletTypeInfo = Depends(get_key_type)
):
async def api_link_retrieve(link_id, wallet: WalletTypeInfo = Depends(get_key_type)):
link = await get_scrub_link(link_id)
if not link: