Skip to content

Commit

Permalink
adapter.http: suffix submodel refs deletion route with a slash
Browse files Browse the repository at this point in the history
  • Loading branch information
jkhsjdhjs committed Mar 20, 2024
1 parent 30e739d commit 990b7f9
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 @@ -400,7 +400,7 @@ def __init__(self, object_store: model.AbstractObjectStore):
Submount("/submodel-refs", [
Rule("/", methods=["GET"], endpoint=self.get_aas_submodel_refs),
Rule("/", methods=["POST"], endpoint=self.post_aas_submodel_refs),
Rule("/<identifier:submodel_id>", methods=["DELETE"],
Rule("/<identifier:submodel_id>/", methods=["DELETE"],
endpoint=self.delete_aas_submodel_refs_specific)
])
])
Expand Down

0 comments on commit 990b7f9

Please sign in to comment.