Skip to content

Commit

Permalink
fix: ftl call with string (#4721)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored Feb 28, 2025
1 parent f79aa82 commit bc24625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ftl/cmd_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (c *callCmd) Run(
}

logger := log.FromContext(ctx)
request := map[string]any{}
var request any
err := json5.Unmarshal([]byte(c.Request), &request)
if err != nil {
return fmt.Errorf("invalid request: %w", err)
Expand Down

0 comments on commit bc24625

Please sign in to comment.