Query changes for DB
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user