Skip to content

Commit

Permalink
Used a string for testing. Replaced string with correct constant
Browse files Browse the repository at this point in the history
  • Loading branch information
dehort committed Sep 6, 2024
1 parent 8c460f5 commit b2ac4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/validator/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b2ac4ca

Please sign in to comment.