mirror of https://gitlab.com/litecord/litecord.git
user.billing_job: fix bug on create_payment call
This commit is contained in:
parent
6a476dc9f7
commit
85deabf610
|
|
@ -89,7 +89,7 @@ async def _process_user_payments(app, user_id: int):
|
||||||
# create_payment does not call any Stripe
|
# create_payment does not call any Stripe
|
||||||
# or BrainTree APIs at all, since we'll just
|
# or BrainTree APIs at all, since we'll just
|
||||||
# give it as free.
|
# give it as free.
|
||||||
await create_payment(sub_id, app)
|
await create_payment(sub_id, app.db)
|
||||||
else:
|
else:
|
||||||
log.debug('sid={}, missing {} days',
|
log.debug('sid={}, missing {} days',
|
||||||
sub_id, threshold - delta.days)
|
sub_id, threshold - delta.days)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue