update large DS
This commit is contained in:
parent
a0c73393c8
commit
c1d6e369e3
|
@ -94,6 +94,7 @@ export default class FollowDocumentWebPart extends React.Component<IFollowDocume
|
|||
const graphService: Graph = new Graph();
|
||||
let graphData: any = [];
|
||||
graphData = await graphService.getGraphContent(`https://graph.microsoft.com/v1.0/me/drive/following?$select=id,name,webUrl,parentReference,followed&Top=1000`, this.props.context);
|
||||
if (graphData.value !== undefined) {
|
||||
graphData.value.forEach(data => {
|
||||
|
||||
let followDocument: FollowDocument = {
|
||||
|
@ -109,6 +110,7 @@ export default class FollowDocumentWebPart extends React.Component<IFollowDocume
|
|||
followDocuments.push(followDocument);
|
||||
});
|
||||
followDocuments = await this.getList(followDocuments);
|
||||
}
|
||||
return followDocuments;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue