From 6644a3c8307c890d045d0fc1cc221462331d0234 Mon Sep 17 00:00:00 2001 From: Matheus Nogueira Date: Fri, 13 Oct 2023 12:27:29 -0300 Subject: [PATCH] fix: json mapping for gRPC metadata headers (#3259) --- server/test/trigger/grpc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/test/trigger/grpc.go b/server/test/trigger/grpc.go index 19d418787b..d02eef9a64 100644 --- a/server/test/trigger/grpc.go +++ b/server/test/trigger/grpc.go @@ -5,8 +5,8 @@ import "google.golang.org/grpc/metadata" const TriggerTypeGRPC TriggerType = "grpc" type GRPCHeader struct { - Key string `expr_enabled:"true"` - Value string `expr_enabled:"true"` + Key string `expr_enabled:"true" json:"key"` + Value string `expr_enabled:"true" json:"value"` } type GRPCRequest struct {