🐛 swu: fix httpheader check type

It was not storing its current value properly, thanks to an incomplete
refactoring ages ago during which etag and lastmodified types were
joined into httpheader.

Closes #4806
This commit is contained in:
Gina Häußge committed 2023-07-18 10:47:49 +02:00
1 parent fd1c6b2e7d
commit c4fab1b7e6
1 file changed
+1 -1
@@ -61,7 +61,7 @@ class SoftwareUpdatePlugin(
octoprint.plugin.EventHandlerPlugin,
):
COMMIT_TRACKING_TYPES = ("github_commit", "bitbucket_commit")
CURRENT_TRACKING_TYPES = COMMIT_TRACKING_TYPES + ("etag", "lastmodified", "jsondata")
CURRENT_TRACKING_TYPES = COMMIT_TRACKING_TYPES + ("httpheader", "jsondata")
RELEASE_TRACKING_TYPES = ("github_release",)
OCTOPRINT_RESTART_TYPES = ("pip", "single_file_plugin")