Skip to content

Commit

Permalink
Increase page size for GetConversatinos
Browse files Browse the repository at this point in the history
Reference #167
  • Loading branch information
jpbruinsslot committed Nov 10, 2018
1 parent 1860e5f commit be9a256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit be9a256

Please sign in to comment.