From c12ad4542ef1de4edc163c83ea9d45d2ba665def Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 07:41:24 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/security/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/security/http.py b/fastapi/security/http.py index 24b0a7be0..9f17a600e 100644 --- a/fastapi/security/http.py +++ b/fastapi/security/http.py @@ -430,6 +430,6 @@ class HTTPDigest(HTTPBase): headers={"WWW-Authenticate": "Digest"}, ) else: - return None + return None return HTTPAuthorizationCredentials(scheme=scheme, credentials=credentials)