From c9e659a3632575f62cc5243aedd02bd89ac575df Mon Sep 17 00:00:00 2001 From: jensilo <46793176+jensilo@users.noreply.github.com> Date: Thu, 15 Feb 2024 18:24:17 +0100 Subject: [PATCH] remove obsolete todo --- src/core/trans/middleware.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/trans/middleware.go b/src/core/trans/middleware.go index 687a5ee..d21befb 100644 --- a/src/core/trans/middleware.go +++ b/src/core/trans/middleware.go @@ -6,8 +6,6 @@ import ( "net/http" ) -// TODO add tests - // Middleware is part of the trans package and sets the locale in the request context. // It requires a TranslatorProvider to be passed and uses it to choose the actual locale after checking the request. // The locale is extracted from the request's cookie. If no cookie is present or the cookie is empty, the default locale is used. -- GitLab