Skip to content

Commit

Permalink
Fix 400 response
Browse files Browse the repository at this point in the history
  • Loading branch information
crysxd committed Apr 29, 2022
1 parent c007b7e commit 38dbaeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions octoprint_octoapp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38dbaeb

Please sign in to comment.