Increase page size for GetConversations

Reference #167
This commit is contained in:
erroneousboat 2018-11-10 14:51:12 +01:00
parent 1860e5f08d
commit 66bb3ba76f

View File

@ -75,7 +75,7 @@ func (s *SlackService) GetChannels() ([]components.ChannelItem, error) {
initChans, initCur, err := s.Client.GetConversations(
&slack.GetConversationsParameters{
ExcludeArchived: "true",
Limit: 10,
Limit: 1000,
Types: []string{
"public_channel",
"private_channel",
@ -97,7 +97,7 @@ func (s *SlackService) GetChannels() ([]components.ChannelItem, error) {
&slack.GetConversationsParameters{
Cursor: nextCur,
ExcludeArchived: "true",
Limit: 10,
Limit: 1000,
Types: []string{
"public_channel",
"private_channel",