From 35de63461d6ad4a10a9ad33994ffc8152f1fd605 Mon Sep 17 00:00:00 2001 From: jerryfletcher21 Date: Mon, 17 Jun 2024 11:35:07 +0200 Subject: [PATCH] Fix middleware unused AuthenticationFailed Simply remove an unused import that is failing linters. --- robosats/middleware.py | 1 - 1 file changed, 1 deletion(-) diff --git a/robosats/middleware.py b/robosats/middleware.py index 7e53ff1f..1e0d41e8 100644 --- a/robosats/middleware.py +++ b/robosats/middleware.py @@ -8,7 +8,6 @@ from django.utils import timezone from django.utils.deprecation import MiddlewareMixin from django.http import JsonResponse from rest_framework.authtoken.models import Token -from rest_framework.exceptions import AuthenticationFailed from api.nick_generator.nick_generator import NickGenerator from api.utils import base91_to_hex, hex_to_base91, is_valid_token, validate_pgp_keys