From 10bc8361c0fc47dc8e398bf30da19ff7b470f004 Mon Sep 17 00:00:00 2001 From: Pepperpotato <49708116+Pepperpotato@users.noreply.github.com> Date: Thu, 20 Jul 2023 20:52:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E9=A3=9E=E4=B9=A6=E7=94=A8=E6=88=B7=E6=97=B6pageToken=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E9=87=8D=E7=BD=AE=E7=9A=84=E9=97=AE=E9=A2=98=20(#239)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/client/feishu/feishu.go | 1 + 1 file changed, 1 insertion(+) diff --git a/public/client/feishu/feishu.go b/public/client/feishu/feishu.go index 6794f72..0ea8e5a 100644 --- a/public/client/feishu/feishu.go +++ b/public/client/feishu/feishu.go @@ -203,6 +203,7 @@ func GetAllUsers() (ret []map[string]interface{}, err error) { ret = append(ret, ele) } if !res.HasMore { + pageToken = "" break } pageToken = res.PageToken