fix: update app tag error (#20618)

This commit is contained in:
Novice
2025-06-04 13:55:00 +08:00
committed by GitHub
parent 6aba223383
commit 4ac3600f81
2 changed files with 4 additions and 1 deletions

View File

@@ -369,6 +369,7 @@ class DatasetTagsApi(DatasetApiResource):
)
parser.add_argument("tag_id", nullable=False, required=True, help="Id of a tag.", type=str)
args = parser.parse_args()
args["type"] = "knowledge"
tag = TagService.update_tags(args, args.get("tag_id"))
binding_count = TagService.get_tag_binding_count(args.get("tag_id"))