Skip to content

Commit

Permalink
Fix ParameterTreeError response typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jsouter committed Oct 7, 2024
1 parent e8d040d commit c10c486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/src/odin_data/control/odin_data_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get(self, path, request):
# logging.error("{}".format(response))
except ParameterTreeError as param_error:
response = {
"response": "OdinDatatAdapter GET error: {}".format(param_error)
"response": "OdinDataAdapter GET error: {}".format(param_error)
}
status_code = 400

Expand All @@ -112,7 +112,7 @@ def put(self, path, request): # pylint: disable=W0613
self._controller.put(path, json_decode(request.body))
except ParameterTreeError as param_error:
response = {
"response": "OdinDatatAdapter GET error: {}".format(param_error)
"response": "OdinDataAdapter PUT error: {}".format(param_error)
}
status_code = 400

Expand Down

0 comments on commit c10c486

Please sign in to comment.