Skip to content

Commit

Permalink
Don't include secrets in url
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Foster committed Jul 16, 2021
1 parent dbaae7e commit 18a620d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions audit.go
Expand Up @@ -111,9 +111,7 @@ func (api *Client) GetAuditLogs(params AuditLogParameters) (entries []AuditEntry

// GetAuditLogsContext retrieves a page of audit entries according to the parameters given with a custom context
func (api *Client) GetAuditLogsContext(ctx context.Context, params AuditLogParameters) (entries []AuditEntry, nextCursor string, err error) {
values := url.Values{
"token": {api.token},
}
values := url.Values{}
if params.Limit != 0 {
values.Add("limit", strconv.Itoa(params.Limit))
}
Expand Down

0 comments on commit 18a620d

Please sign in to comment.