mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 05:33:34 +00:00
Limit pageSize to 100 in doDriveActivity, otherwise backend errors
This commit is contained in:
2
src/gam.py
Normal file → Executable file
2
src/gam.py
Normal file → Executable file
@ -2815,7 +2815,7 @@ def doDriveActivity(users):
|
||||
feed = callGAPIpages(service=activity.activities(), function=u'list', items=u'activities',
|
||||
page_message=page_message, source=u'drive.google.com', userId=u'me',
|
||||
drive_ancestorId=drive_ancestorId, groupingStrategy=u'none',
|
||||
drive_fileId=drive_fileId, pageSize=500)
|
||||
drive_fileId=drive_fileId, pageSize=100)
|
||||
for item in feed:
|
||||
activity_attributes.append(flatten_json(item[u'combinedEvent']))
|
||||
for an_item in activity_attributes[-1]:
|
||||
|
Reference in New Issue
Block a user