Skip to content

Commit

Permalink
fixing delete_submodels()
Browse files Browse the repository at this point in the history
  • Loading branch information
Frosty2500 committed Mar 17, 2024
1 parent 79d82aa commit 251afe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basyx/aas/adapter/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def post_submodel(self, request: Request, url_args: Dict, map_adapter: MapAdapte

def delete_submodel(self, request: Request, url_args: Dict, **_kwargs) -> Response:
response_t = get_response_type(request)
self.object_store.remove(self._get_obj_ts(url_args["aas_id"], model.Submodel))
self.object_store.remove(self._get_obj_ts(url_args["submodel_id"], model.Submodel))
return response_t()

# --------- SUBMODEL ROUTES ---------
Expand Down

0 comments on commit 251afe6

Please sign in to comment.