Skip to content

Commit

Permalink
Update internal/cli/logs.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rita Zerrizuela <[email protected]>
  • Loading branch information
chrisscott and Widcket authored Mar 12, 2021
1 parent 6bf267e commit ced4e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func getLatestLogs(cli *cli, n int, clientID string) ([]*management.Log, error)
management.Parameter("per_page", fmt.Sprintf("%d", perPage))}

if clientID != "" {
queryParams = append(queryParams, management.Query(fmt.Sprintf(`client_id:"%s"`, ClientID)))
queryParams = append(queryParams, management.Query(fmt.Sprintf(`client_id:"%s"`, clientID)))
}

return cli.api.Log.List(queryParams...)
Expand Down

0 comments on commit ced4e3f

Please sign in to comment.