We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The API GetAuditLogs sends a request to https://slack.com/api/
The audit logs API is accessible only via api.slack.com
_, nextCursor, err = slackClient.GetAuditLogs(slack.AuditLogParameters{ Limit: maxAuditLogMessages, Oldest: oldest, Latest: latest, Cursor: nextCursor, Action: eventType, })
The text was updated successfully, but these errors were encountered:
Thanks for reporting. You can call Audit Log APIs correctly by setting Base URL as follows.
slack.New(token, slack.OptionAPIURL("https://slack.com/")
However, it seems inconvenient that only one endpoint can be set per Slack client, so I will consider some other way.
Sorry, something went wrong.
No branches or pull requests
What happened
The API GetAuditLogs sends a request to https://slack.com/api/
Expected behavior
The audit logs API is accessible only via api.slack.com
Steps to reproduce
reproducible code
_, nextCursor, err = slackClient.GetAuditLogs(slack.AuditLogParameters{
Limit: maxAuditLogMessages,
Oldest: oldest,
Latest: latest,
Cursor: nextCursor,
Action: eventType,
})
manifest.yaml
Versions
The text was updated successfully, but these errors were encountered: