Skip to content

Commit

Permalink
FIX typo.
Browse files Browse the repository at this point in the history
FIX typo.
  • Loading branch information
karminski committed Jan 24, 2024
1 parent 2089358 commit 3d4c09e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actionruntime/graphql/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (g *Connector) Run(resourceOptions map[string]interface{}, actionOptions ma

// preprocess Header
headersPreprocessed, errInPreprocessHeadersKVPair := preprocessKVPairSliceWithContext(g.ResourceOpts.Headers, context)
if headersPreprocessed != nil {
if errInPreprocessHeadersKVPair != nil {
return common.RuntimeResult{Success: false}, errInPreprocessHeadersKVPair
}
for _, header := range headersPreprocessed {
Expand All @@ -242,7 +242,7 @@ func (g *Connector) Run(resourceOptions map[string]interface{}, actionOptions ma

// preprocess cookie
cookiesPreprocessed, errInPreprocessCookiesKVPair := preprocessKVPairSliceWithContext(g.ResourceOpts.Cookies, context)
if cookiesPreprocessed != nil {
if errInPreprocessCookiesKVPair != nil {
return common.RuntimeResult{Success: false}, errInPreprocessCookiesKVPair
}
for _, cookie := range cookiesPreprocessed {
Expand Down

0 comments on commit 3d4c09e

Please sign in to comment.