修复定时任务中查询存款失败用户无法正常执行的问题

This commit is contained in:
zayac 2024-02-27 10:40:12 +08:00
parent 9dbe91a359
commit 5e08704a47

View File

@ -22,7 +22,7 @@ def job_count(username, password):
def query_failed_deposit(username, password):
logger.info(f'Running query_failed_deposit for username: {username}')
user = get_user_by_username_and_password(username, password)
send_message(BOT_TOKEN, COUNT_GROUP_ID, get_pay_failed_by_user(user))
send_message(BOT_TOKEN, COUNT_GROUP_ID, get_pay_failed_by_user(user, get_curr_day()))
logger.info(f'Finished query_failed_deposit for username: {username}')