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?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [x] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [ ] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #<issue>

#### Test Plan

<!-- How will this be tested prior to merging.-->
- [ ] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
This commit is contained in:
Abin Simon 2023-09-15 21:45:41 +05:30 committed by GitHub
parent ce422f0b1d
commit fdeff75f22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,8 @@ func ProduceExportCollections(
switch cat { switch cat {
case path.ChannelMessagesCategory: case path.ChannelMessagesCategory:
folders = append(folders, fp.Folders()...) folders = append(folders, fp.Folders()...)
default:
continue
} }
coll := groups.NewExportCollection( coll := groups.NewExportCollection(