From 1de6951c99e945aaae3895b6d565134b50400dcc Mon Sep 17 00:00:00 2001 From: Reinaldo Oliveira Date: Fri, 24 Mar 2023 14:29:20 -0300 Subject: [PATCH] Fix how parameters are given to the request function --- shell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.go b/shell.go index a210bb0..1084f92 100644 --- a/shell.go +++ b/shell.go @@ -82,7 +82,7 @@ func registerRequest(shell *ishell.Shell) { Name: "request", Help: "makes a request to pitaya server", Func: func(c *ishell.Context) { - err := request(c, c.RawArgs[1:]) + err := request(c, c.Args) if err != nil { c.Err(err) }