chore: update lnurl lib to v0.8.0 (#102)

This commit is contained in:
dni ⚡ 2025-08-21 17:15:17 +02:00 committed by GitHub
commit e48be221b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 2356 additions and 574 deletions

View file

@ -1,7 +1,6 @@
import json
import re
from http import HTTPStatus
from typing import Optional
from fastapi import APIRouter, Depends, HTTPException, Query
from lnbits.core.crud import get_user, get_wallet
@ -79,7 +78,7 @@ async def check_username_exists(username: str):
@lnurlp_api_router.put("/api/v1/links/{link_id}", status_code=HTTPStatus.OK)
async def api_link_create_or_update(
data: CreatePayLinkData,
link_id: Optional[str] = None,
link_id: str | None = None,
key_info: WalletTypeInfo = Depends(require_admin_key),
) -> PayLink:
if data.min > data.max: