Skip to content

Commit

Permalink
fix: httpJSONResult body change to any type because JSON can be array…
Browse files Browse the repository at this point in the history
…s,primitives.
  • Loading branch information
halalala222 committed Aug 9, 2024
1 parent 466c5fa commit e7bc472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dag/executor/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type httpConfig struct {
type httpJSONResult struct {
StatusCode int `json:"status_code"`
Headers map[string][]string `json:"headers"`
Body map[string]any `json:"body"`
Body any `json:"body"`
}

func newHTTP(ctx context.Context, step dag.Step) (Executor, error) {
Expand Down

0 comments on commit e7bc472

Please sign in to comment.