This commit is contained in:
Timothy J. Baek 2024-04-20 21:15:39 -05:00
parent fe3291acb5
commit 1cf4fa96c1

View File

@ -153,7 +153,9 @@ class TagTable:
return [
TagModel(**model_to_dict(tag))
for tag in Tag.select().where(Tag.name.in_(tag_names))
for tag in Tag.select()
.where(Tag.user_id == user_id)
.where(Tag.name.in_(tag_names))
]
def get_chat_ids_by_tag_name_and_user_id(