mirror of
https://github.com/MontFerret/ferret.git
synced 2025-09-16 09:06:36 +02:00
fix bug when HTTPResponse fields allow in any case
This commit is contained in:
@@ -3,7 +3,6 @@ package drivers
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"strings"
|
||||
|
||||
"github.com/MontFerret/ferret/pkg/runtime/core"
|
||||
"github.com/MontFerret/ferret/pkg/runtime/values"
|
||||
@@ -83,7 +82,6 @@ func (resp *HTTPResponse) GetIn(ctx context.Context, path []core.Value) (core.Va
|
||||
}
|
||||
|
||||
field := path[0].(values.String).String()
|
||||
field = strings.ToLower(field)
|
||||
|
||||
switch field {
|
||||
case "status":
|
||||
|
Reference in New Issue
Block a user