(20241205) Bug fix in 'firstRefreshTs'

This commit is contained in:
2024-12-05 11:25:36 +05:30
parent 5c36f90e98
commit 449d7ed451
+2 -2
View File
@@ -229,8 +229,8 @@ class MailOAuthModel(BaseModel):
"$cond": { "$cond": {
"if": { "if": {
"$or": [ "$or": [
{"$eq": ["$fieldName", None]}, {"$eq": ["$firstRefreshTs", None]},
{"$eq": [{"$type": "$fieldName"}, "missing"]} {"$eq": [{"$type": "$firstRefreshTs"}, "missing"]}
] ]
}, },
"then": request_ts, "then": request_ts,