diff --git a/src/internal/connector/exchange/api/contacts.go b/src/internal/connector/exchange/api/contacts.go index 4ebfc9ac5..76c287efa 100644 --- a/src/internal/connector/exchange/api/contacts.go +++ b/src/internal/connector/exchange/api/contacts.go @@ -55,14 +55,12 @@ func (c Contacts) CreateContactFolder( return mdl, nil } -// CreateContactFolder makes a contact folder with the displayName of folderName. -// If successful, returns the created folder object. +// TODO: Add pagination or just reuse EnumerateContainer logic +// with base id at root func (c Contacts) GetContactFolders( ctx context.Context, user string, ) (models.ContactFolderCollectionResponseable, error) { - // TODO: Add pagination or just reuse EnumerateContainer logic - // with base id at root mdl, err := c.Stable.Client().UsersById(user).ContactFolders().Get(ctx, nil) if err != nil { return nil, graph.Wrap(ctx, err, "creating contact folder") diff --git a/src/internal/connector/exchange/service_restore.go b/src/internal/connector/exchange/service_restore.go index 2656a3049..934a27fd9 100644 --- a/src/internal/connector/exchange/service_restore.go +++ b/src/internal/connector/exchange/service_restore.go @@ -659,7 +659,6 @@ func establishContactsRestoreLocation( // TODO:: Add status code check too if graph.IsErrFolderExists(err) { result, _ := ac.Contacts().GetContactFolders(ctx, user) - //fmt.Println(result.GetValue()) } return "", err }