Query changes for DB

This commit is contained in:
Justin Weins 2025-06-26 11:04:26 +02:00
parent f97d8e53b1
commit e3270d64bf
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ def list_patchnotes(since: str | None = None):
logging.info("Went into if since") logging.info("Went into if since")
query = { query = {
"patch_date": { "patch_date": {
"$gte": last_login, "$gte": since,
"$lte": since "$lte": last_login
} }
} }
try: try: