Update to /connector/sharepoint/collection.go

Ctrl option added to Collection Constructor.
This commit is contained in:
Danny Adams 2023-01-21 02:06:03 -05:00
parent 0f16e5768f
commit a0ea09e9a1

View File

@ -66,6 +66,7 @@ func NewCollection(
service graph.Servicer, service graph.Servicer,
category DataCategory, category DataCategory,
statusUpdater support.StatusUpdater, statusUpdater support.StatusUpdater,
ctrlOpts control.Options,
) *Collection { ) *Collection {
c := &Collection{ c := &Collection{
fullPath: folderPath, fullPath: folderPath,
@ -74,6 +75,7 @@ func NewCollection(
service: service, service: service,
statusUpdater: statusUpdater, statusUpdater: statusUpdater,
category: category, category: category,
ctrl: ctrlOpts,
} }
return c return c