mirror of
https://github.com/langgenius/dify.git
synced 2026-05-26 22:00:53 -04:00
fix(api): stop returning 204 with response body and add CI check (#36489)
This commit is contained in:
@@ -218,7 +218,7 @@ class ExternalApiTemplateApi(Resource):
|
||||
raise Forbidden()
|
||||
|
||||
ExternalDatasetService.delete_external_knowledge_api(current_tenant_id, external_knowledge_api_id)
|
||||
return {"result": "success"}, 204
|
||||
return "", 204
|
||||
|
||||
|
||||
@console_ns.route("/datasets/external-knowledge-api/<uuid:external_knowledge_api_id>/use-check")
|
||||
|
||||
Reference in New Issue
Block a user