Query changes for DB
This commit is contained in:
parent
f97d8e53b1
commit
e3270d64bf
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue