fix options regex

This commit is contained in:
Valentin CZERYBA 2024-12-28 00:19:43 +01:00
parent 7a502d2bf9
commit 216b4bb3f2

View File

@ -31,7 +31,7 @@ async def read_tags(
if name: if name:
filters.append({"name": {"$eq": name, "$options": "i"}}) filters.append({"name": {"$regex": name, "$options": "i"}})
# Add ID filter # Add ID filter
if id_tags: if id_tags: