From fdeff75f22826ce965662dde52f47f6eadc9ee02 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Fri, 15 Sep 2023 21:45:41 +0530 Subject: [PATCH] Skip exporting SharePoint Libraries from Groups (#4258) We currently don't have support for SP export in groups. Do not try to do them. --- #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [x] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Supportability/Tests - [ ] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup #### Issue(s) * # #### Test Plan - [ ] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/internal/m365/service/groups/export.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal/m365/service/groups/export.go b/src/internal/m365/service/groups/export.go index 1982af848..4f76847c1 100644 --- a/src/internal/m365/service/groups/export.go +++ b/src/internal/m365/service/groups/export.go @@ -38,6 +38,8 @@ func ProduceExportCollections( switch cat { case path.ChannelMessagesCategory: folders = append(folders, fp.Folders()...) + default: + continue } coll := groups.NewExportCollection(