1
0
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:
Владимир Фетисов
2019-10-07 22:50:45 +03:00
parent 56d1216f78
commit be31756a6a

View File

@@ -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":