Skip to content

Commit 2efc373

Browse files
committed
fix: implement SimpleApiPlugin.is_api_protected
1 parent 6cf9b71 commit 2efc373

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

octoprint_file_check/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ def on_api_command(self, command, data):
136136
headers={"Location": flask.url_for("index") + "api/plugin/file_check"},
137137
)
138138

139+
def is_api_protected(self):
140+
return True
141+
139142
##~~ TemplatePlugin API
140143

141144
def get_template_configs(self):

0 commit comments

Comments
 (0)