bug534:アプリ最大100件超える場合の対応

This commit is contained in:
xiaozhe.ma
2024-07-22 18:28:25 +09:00
parent e9eafdaf1a
commit f0f282afe0

View File

@@ -526,8 +526,8 @@ async def allapps(request:Request,c:config.KINTONE_ENV=Depends(getkintoneenv)):
apps = json_data.get("apps",[])
all_apps.extend(apps)
if len(apps)<limit:
break;
offset += 100
break
offset += limit
return {"apps": all_apps}
except Exception as e: