fix cron error

master
Aevann 2024-02-16 22:55:26 +02:00
parent 7624413b33
commit 26b9feea2c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def reddit_mentions_task():
if REDDIT_NOTIFS_USERS:
for query, send_user in REDDIT_NOTIFS_USERS.items():
user_mentions = get_mentions(cache, [query], reddit_notifs_users=True)
user_mentions = get_mentions([query], reddit_notifs_users=True)
if user_mentions:
notify_mentions(user_mentions, send_to=send_user, mention_str='mention of you')