From 6bb265fcf0ad3d7bc80a1ef146f61aec7516e20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Fri, 14 Jul 2023 13:22:46 +0200 Subject: [PATCH] use correct config struct for jwt token (#6761) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- services/search/pkg/command/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/search/pkg/command/server.go b/services/search/pkg/command/server.go index ef38771ce06..0aa594c691d 100644 --- a/services/search/pkg/command/server.go +++ b/services/search/pkg/command/server.go @@ -56,7 +56,7 @@ func Server(cfg *config.Config) *cli.Command { grpc.Name(cfg.Service.Name), grpc.Context(ctx), grpc.Metrics(mtrcs), - grpc.JWTSecret(cfg.Commons.TokenManager.JWTSecret), + grpc.JWTSecret(cfg.TokenManager.JWTSecret), ) defer teardown() if err != nil {