From b1c9c5ec1c830d8f30d62fba8bf0056e04f841a2 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Wed, 11 Feb 2026 16:24:11 +0100 Subject: [PATCH] Fixed group settings returning XML by default --- .../GoogleWorkspace/SourceItems/GroupSettingsSourceEntry.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proprietary/GoogleWorkspace/SourceItems/GroupSettingsSourceEntry.cs b/proprietary/GoogleWorkspace/SourceItems/GroupSettingsSourceEntry.cs index d8cc66d1d..c7dfa2cdd 100644 --- a/proprietary/GoogleWorkspace/SourceItems/GroupSettingsSourceEntry.cs +++ b/proprietary/GoogleWorkspace/SourceItems/GroupSettingsSourceEntry.cs @@ -2,7 +2,6 @@ using Duplicati.Library.Common.IO; using System.Text.Json; - namespace Duplicati.Proprietary.GoogleWorkspace.SourceItems; internal class GroupSettingsSourceEntry(SourceProvider provider, string parentPath, string groupEmail) @@ -14,6 +13,7 @@ internal class GroupSettingsSourceEntry(SourceProvider provider, string parentPa { var service = provider.ApiHelper.GetGroupsSettingsService(); var request = service.Groups.Get(groupEmail); + request.Alt = Google.Apis.Groupssettings.v1.GroupssettingsBaseServiceRequest.AltEnum.Json; var settings = await request.ExecuteAsync(cancellationToken); var json = JsonSerializer.Serialize(settings, new JsonSerializerOptions { WriteIndented = true });