Skip to content

Commit

Permalink
fix limit url param
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Foster committed Jul 16, 2021
1 parent f5878c7 commit dbaae7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (api *Client) GetAuditLogsContext(ctx context.Context, params AuditLogParam
"token": {api.token},
}
if params.Limit != 0 {
values.Add("count", strconv.Itoa(params.Limit))
values.Add("limit", strconv.Itoa(params.Limit))
}
if params.Oldest != 0 {
values.Add("oldest", strconv.Itoa(params.Oldest))
Expand Down

0 comments on commit dbaae7e

Please sign in to comment.