Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Min Min <[email protected]>
  • Loading branch information
jamsman94 committed Nov 1, 2024
1 parent 4c03966 commit ec5fd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tool/lark/chats.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (client *Client) ListAllChatMembers(chatID string) ([]*larkim.ListMember, e
hasMore := util.GetBoolFromPointer(apiResp.Data.HasMore)
pageToken := util.GetStringFromPointer(apiResp.Data.PageToken)
for hasMore {
reqBuilder := larkim.NewGetChatMembersReqBuilder().ChatId(chatID).PageSize(2).PageToken(pageToken)
reqBuilder := larkim.NewGetChatMembersReqBuilder().ChatId(chatID).PageSize(100).PageToken(pageToken)
apiResp, err := client.Im.ChatMembers.Get(context.TODO(), reqBuilder.Build())
if err != nil {
return nil, err
Expand Down

0 comments on commit ec5fd23

Please sign in to comment.