From 481954a401fe358392cffffb790160ef22e96c09 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 1 Mar 2025 13:12:03 +0300 Subject: [PATCH] fix misprint --- app/api/routes/content.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/api/routes/content.py b/app/api/routes/content.py index 63c015d..2cef8a8 100644 --- a/app/api/routes/content.py +++ b/app/api/routes/content.py @@ -90,14 +90,15 @@ async def s_api_v1_content_view(request, content_address: str): invoice_url = exist_invoice.invoice_url else: invoice_id = f"access_{uuid.uuid4().hex}" + invocie_url = None try: invoice_url = await Bot(token=CLIENT_TELEGRAM_API_KEY).create_invoice_link( 'Lifetime access to content', 'You will receive NFT with lifetime access to content', - invoice_id, "", "XTR", + invoice_id, "XTR", [ types.LabeledPrice(label='Lifetime access', amount=stars_cost), - ], + ], provider_token = '' ) request.ctx.db_session.add( StarsInvoice(