user.billing_job: fix bug on create_payment call

This commit is contained in:
Luna 2018-12-24 21:07:10 -03:00
parent 6a476dc9f7
commit 85deabf610
1 changed files with 1 additions and 1 deletions

View File

@ -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)