fix misprint
This commit is contained in:
parent
a4e3de9a6c
commit
481954a401
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue