🐛 Fix permissions on /api/status

Now requires the STATUS permission.

Fixes #3492
This commit is contained in:
Gina Häußge committed 2020-04-24 18:21:25 +02:00
1 parent 81e1ad2ee7
commit 0a889dc7e6
1 file changed
+1
+1
View File
@@ -196,6 +196,7 @@ def apiPrinterState():
@api.route("/version", methods=["GET"])
@Permissions.STATUS.require(403)
def apiVersion():
return jsonify({
"server": octoprint.server.VERSION,