From 8ffbde61c14d5c1ecb93a2b2b7eed759409c1a14 Mon Sep 17 00:00:00 2001 From: "madjid.asa" Date: Wed, 27 Nov 2024 11:22:02 +0100 Subject: [PATCH] clean comment --- lemarche/api/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemarche/api/authentication.py b/lemarche/api/authentication.py index aab829b01..465df6bec 100644 --- a/lemarche/api/authentication.py +++ b/lemarche/api/authentication.py @@ -82,7 +82,7 @@ def __init__(self, get_response): def __call__(self, request): response = self.get_response(request) - # Ajoute un warning si le marqueur est défini dans la requête + # Add a warning if the marker is set in the request if hasattr(request, "_deprecated_auth_warning") and request._deprecated_auth_warning: response.headers["Deprecation-Warning"] = ( "URL token authentication is deprecated and will be removed on 2025/01. "