dev discount
This commit is contained in:
parent
481954a401
commit
c9871b95e1
|
|
@ -77,7 +77,7 @@ async def s_api_v1_content_view(request, content_address: str):
|
|||
current_star_rate = 0.00000001
|
||||
|
||||
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
|
||||
|
||||
exist_invoice = request.ctx.db_session.query(StarsInvoice).filter(
|
||||
|
|
|
|||
Loading…
Reference in New Issue