dev discount

This commit is contained in:
user 2025-03-01 13:17:25 +03:00
parent 481954a401
commit c9871b95e1
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ async def s_api_v1_content_view(request, content_address: str):
current_star_rate = 0.00000001 current_star_rate = 0.00000001
stars_cost = int(int(content['encrypted_content'].meta['license']['resale']['price']) / 1e9 / current_star_rate * 1.2) stars_cost = int(int(content['encrypted_content'].meta['license']['resale']['price']) / 1e9 / current_star_rate * 1.2)
if request.ctx.user.id in [5587262915, 6861699286]: if request.ctx.user.telegram_id in [5587262915, 6861699286]:
stars_cost = 2 stars_cost = 2
exist_invoice = request.ctx.db_session.query(StarsInvoice).filter( exist_invoice = request.ctx.db_session.query(StarsInvoice).filter(