Fix getmenus

nats
Paulo Simão 2021-10-31 19:48:31 -03:00
parent 74dc132b2b
commit e572aae2a2
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ func (c *Cli) Exit() error {
func (c *Cli) MenuGetAllEnabled() (ret []types.Menu, err error) { func (c *Cli) MenuGetAllEnabled() (ret []types.Menu, err error) {
ret = make([]types.Menu, 0) ret = make([]types.Menu, 0)
err = c.HttpCli().JsonGet("/api/v1/menu/enabled", nil) err = c.HttpCli().JsonGet("/api/v1/menu/enabled", &ret)
return ret, err return ret, err
} }