diff --git a/src/internal/connector/sharepoint/data_collections.go b/src/internal/connector/sharepoint/data_collections.go index 71dd24f4e..246d38ccf 100644 --- a/src/internal/connector/sharepoint/data_collections.go +++ b/src/internal/connector/sharepoint/data_collections.go @@ -112,7 +112,7 @@ func collectLists( return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID) } - collection := NewCollection(dir, serv, updater.UpdateStatus) + collection := NewCollection(dir, serv, List, updater.UpdateStatus) collection.AddJob(tuple.id) spcs = append(spcs, collection) @@ -193,7 +193,7 @@ func collectPages( return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID) } - collection := NewCollection(dir, serv, updater.UpdateStatus) + collection := NewCollection(dir, serv, Pages, updater.UpdateStatus) collection.AddJob(tuple.id) spcs = append(spcs, collection)