From b2ac4ca33130c068a6262f5f4897fe2dfdc66bc4 Mon Sep 17 00:00:00 2001 From: Derek Horton Date: Fri, 6 Sep 2024 14:43:17 -0500 Subject: [PATCH] Used a string for testing. Replaced string with correct constant --- internal/validator/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/validator/handler.go b/internal/validator/handler.go index 8eb69593..311668a8 100644 --- a/internal/validator/handler.go +++ b/internal/validator/handler.go @@ -180,7 +180,7 @@ func (this *handler) validateContent(ctx context.Context, requestType string, da continue } - if requestType == "playbookSatPayloadHeaderValue" { + if requestType == playbookSatPayloadHeaderValue { validatedEvent, err := validateSatRunResponseWithSchema(ctx, this.schemas[1], line) if err == nil {