🐛 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-05-15 11:08:39 +02:00
1 parent 460fc8342e
commit 423d3d9a18
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")