(20241210) EMail filter added for listing emails.
This commit is contained in:
@@ -165,7 +165,10 @@ class MailRetrieveModel(BaseModel):
|
||||
# Get the data from the database:
|
||||
mails_list = await mongo_conn.find_many(
|
||||
collection = self.MAIL_COLLECTION,
|
||||
filter = {"tokenId": {"$in": token_id}},
|
||||
filter = {
|
||||
"tokenId": {"$in": token_id},
|
||||
"serviceType": "email"
|
||||
},
|
||||
projection = {
|
||||
"_id": True,
|
||||
"serviceType": True,
|
||||
|
||||
Reference in New Issue
Block a user