From b3622420f425acf01e489152ebe7244584b30092 Mon Sep 17 00:00:00 2001 From: jerry Date: Mon, 17 Jun 2024 21:15:25 +0000 Subject: [PATCH] Fix middleware unused AuthenticationFailed (#1339) 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