From 38dbaeb54e03da614dad1f5cc85eaaa583b9c83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20W=C3=BCrthner?= Date: Fri, 29 Apr 2022 11:59:13 +0700 Subject: [PATCH] Fix 400 response --- octoprint_octoapp/__init__.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/octoprint_octoapp/__init__.py b/octoprint_octoapp/__init__.py index 874c131..475bd13 100755 --- a/octoprint_octoapp/__init__.py +++ b/octoprint_octoapp/__init__.py @@ -113,6 +113,7 @@ def on_api_command(self, command, data): self._logger.debug("registered apps %s" % apps) self.set_apps(apps) self._settings.save() + return flask.jsonify(dict()) elif command == "getWebcamSnapshot": if not Permissions.PLUGIN_OCTOAPP_GET_DATA.can(): diff --git a/setup.py b/setup.py index 653a0cc..d82030d 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ plugin_name = "OctoApp" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "1.0.9" +plugin_version = "1.0.10" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module