mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 02:28:10 +01:00
formatting
This commit is contained in:
parent
3824a108aa
commit
ff274e4eac
@ -1,4 +1,4 @@
|
||||
from fastapi import Request, Depends
|
||||
from fastapi import Depends, Request
|
||||
from fastapi.templating import Jinja2Templates
|
||||
from starlette.responses import HTMLResponse
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user