Skip to content

Commit

Permalink
fix: json mapping for gRPC metadata headers (#3259)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathnogueira committed Oct 13, 2023
1 parent 99f48ae commit 6644a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/test/trigger/grpc.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 6644a3c

Please sign in to comment.