From a2e9419e6e71940126589579238e48d6d5e07982 Mon Sep 17 00:00:00 2001 From: lizb Date: Wed, 21 May 2025 14:16:59 +0800 Subject: [PATCH] fix param type --- api/services/tag_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/services/tag_service.py b/api/services/tag_service.py index 86832a6e27..be748e8dd1 100644 --- a/api/services/tag_service.py +++ b/api/services/tag_service.py @@ -45,7 +45,7 @@ class TagService: return results @staticmethod - def get_tag_by_tag_name(tag_type: str, current_tenant_id: str, tag_name: list) -> list: + def get_tag_by_tag_name(tag_type: str, current_tenant_id: str, tag_name: str) -> list: tags = ( db.session.query(Tag) .filter(Tag.name == tag_name, Tag.tenant_id == current_tenant_id, Tag.type == tag_type)