fix: update app tag error (#20618)
This commit is contained in:
parent
6aba223383
commit
4ac3600f81
2 changed files with 4 additions and 1 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue