aboutsummaryrefslogtreecommitdiff
path: root/modules/rest_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rest_api.py')
-rw-r--r--modules/rest_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py
index 51674ab5..83fb893c 100644
--- a/modules/rest_api.py
+++ b/modules/rest_api.py
@@ -25,7 +25,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
key = params.get("key", None)
permissions = _bot.get_setting("api-key-%s" % key, [])
- if not authenticated or path in permimssions or "*" in permissions:
+ if not authenticated or path in permissions or "*" in permissions:
if path.startswith("/api/"):
event_response = None
try: