From 19446b85e562f05de15f0d90f7958693150e0aef Mon Sep 17 00:00:00 2001 From: Danny Adams Date: Thu, 19 Jan 2023 12:56:01 -0500 Subject: [PATCH] Updates to /sharepoint/data_collections.go Adds new identifier to NewCollection() call --- src/internal/connector/sharepoint/data_collections.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)