Fixed "location" instead of "locations"

This commit is contained in:
2023-08-30 12:56:20 +02:00
parent 0b720ef770
commit c303f62005
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ async def remind(app: PyroClient) -> None:
entries = await col_entries.find(
{
"location": {"$in": location.id},
"locations": {"$in": location.id},
"date": user_date.replace(hour=0, minute=0),
}
).to_list()