fix(notifications): multiply duration days by 30 for admin log accuracy
This commit is contained in:
@@ -233,7 +233,7 @@ async def proceed_to_checkout(
|
|||||||
balance_before=deducted_user.balance + amount,
|
balance_before=deducted_user.balance + amount,
|
||||||
balance_after=deducted_user.balance,
|
balance_after=deducted_user.balance,
|
||||||
devices=ctx.devices,
|
devices=ctx.devices,
|
||||||
duration_days=convert_duration_to_int(ctx.duration),
|
duration_days=convert_duration_to_int(ctx.duration) * 30,
|
||||||
whitelists=ctx.whitelists,
|
whitelists=ctx.whitelists,
|
||||||
credit=credit,
|
credit=credit,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user