Skip to content

Commit

Permalink
use correct config struct for jwt token (#6761)
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic authored Jul 14, 2023
1 parent e1fb4c3 commit 6bb265f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/search/pkg/command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6bb265f

Please sign in to comment.