use correct config struct for jwt token (#6761)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -56,7 +56,7 @@ func Server(cfg *config.Config) *cli.Command {
|
|||||||
grpc.Name(cfg.Service.Name),
|
grpc.Name(cfg.Service.Name),
|
||||||
grpc.Context(ctx),
|
grpc.Context(ctx),
|
||||||
grpc.Metrics(mtrcs),
|
grpc.Metrics(mtrcs),
|
||||||
grpc.JWTSecret(cfg.Commons.TokenManager.JWTSecret),
|
grpc.JWTSecret(cfg.TokenManager.JWTSecret),
|
||||||
)
|
)
|
||||||
defer teardown()
|
defer teardown()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user