fix(backend): change api with learnware engine

This commit is contained in:
Gene 2023-11-01 20:43:34 +08:00
parent 7bb414802f
commit 84fb959049
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class UpdateLearnwareApi(flask_restful.Resource):
if learnware_file is None:
# only update semantic specification
context.engine.update_learnware_semantic_spec(learnware_id, semantic_specification)
context.engine.update_learnware_semantic_specification(learnware_id, semantic_specification)
pass
else:
context.engine.delete_learnware(learnware_id)