diff --git a/supertokens_python/recipe/dashboard/api/api_key_protector.py b/supertokens_python/recipe/dashboard/api/api_key_protector.py index 69708fca6..4aa9b4420 100644 --- a/supertokens_python/recipe/dashboard/api/api_key_protector.py +++ b/supertokens_python/recipe/dashboard/api/api_key_protector.py @@ -51,11 +51,6 @@ async def api_key_protector( ) ) except DashboardOperationNotAllowedError as _: - # api_options.response.set_status_code(403) - # api_options.response.set_json_content({ - # "message": "You are not permitted to perform this operation" - # }) - # return None return send_non_200_response_with_message( json.dumps({"message": "You are not permitted to perform this operation"}), 403,