Updates pageInfo.go
Uses Beta library for pages.
This commit is contained in:
parent
7d9d7bc02b
commit
1ac4922c80
@ -3,13 +3,15 @@ package sharepoint
|
||||
import (
|
||||
"time"
|
||||
|
||||
bmodel "github.com/microsoftgraph/msgraph-beta-sdk-go/models"
|
||||
|
||||
"github.com/alcionai/corso/src/pkg/backup/details"
|
||||
)
|
||||
|
||||
// sharePointPageInfo propagates metadata from the SharePoint Page data type
|
||||
// into searchable content.
|
||||
// Page Details: https://learn.microsoft.com/en-us/graph/api/resources/sitepage?view=graph-rest-beta
|
||||
func sharePointPageInfo(page SitePageable, size int64) *details.SharePointInfo {
|
||||
func sharePointPageInfo(page bmodel.SitePageable, size int64) *details.SharePointInfo {
|
||||
var (
|
||||
name, webURL string
|
||||
created, modified time.Time
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user