feat: update to uv (#59)

This commit is contained in:
dni ⚡ 2025-08-24 23:10:31 +02:00 committed by GitHub
commit 1bce3bde2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 2309 additions and 3763 deletions

View file

@ -1,6 +1,5 @@
import json
from http import HTTPStatus
from typing import Optional
from fastapi import APIRouter, Depends, HTTPException, Query, Request
from lnbits.core.crud import get_user
@ -86,7 +85,7 @@ async def api_link_retrieve(
async def api_link_create_or_update(
request: Request,
data: CreateWithdrawData,
link_id: Optional[str] = None,
link_id: str | None = None,
key_info: WalletTypeInfo = Depends(require_admin_key),
):
if data.uses > 250: