remove description

This commit is contained in:
jyong
2024-09-24 22:28:23 +08:00
parent 680c1bd41d
commit a53b4fb2ff
3 changed files with 19 additions and 5 deletions

View File

@ -152,8 +152,8 @@ class ExternalApiUseCheckApi(Resource):
def get(self, external_knowledge_api_id):
external_knowledge_api_id = str(external_knowledge_api_id)
external_api_template_is_using = ExternalDatasetService.external_api_template_use_check(external_knowledge_api_id)
return {"is_using": external_api_template_is_using}, 200
external_api_template_is_using, count = ExternalDatasetService.external_api_template_use_check(external_knowledge_api_id)
return {"is_using": external_api_template_is_using, "count": count}, 200
class ExternalDatasetInitApi(Resource):