diff --git a/octoprint_Octoslack/__init__.py b/octoprint_Octoslack/__init__.py index e28ee30..1b4c589 100644 --- a/octoprint_Octoslack/__init__.py +++ b/octoprint_Octoslack/__init__.py @@ -4832,7 +4832,7 @@ def upload_slack_asset( ) elif slack_client3: upload_rsp = slack_client3.files_upload_v2( - channels=channels, + channel=channels, filename=dest_filename, title=file_description, file=file_to_upload, diff --git a/setup.py b/setup.py index 862b196..209db35 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ plugin_name = "Octoslack" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "2.2.1" +plugin_version = "2.2.2" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module