Merge pull request #2 from Stone-Red-Software/development

Development
This commit is contained in:
Stone_Red
2024-03-14 17:35:21 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -111,6 +111,6 @@ public class NotificationApiServer
/// <returns>The HTTP response message.</returns>
public async Task<HttpResponseMessage> SetUserPreferences(string userId, SetUserPreferencesData setUserPreferencesData)
{
return await httpClient.PostAsJsonAsync($"user_preferences/{userId}", setUserPreferencesData, Configuration.JsonSerializerOptions);
return await httpClient.PostAsJsonAsync($"user_preferences/{userId}", setUserPreferencesData.Preferences, Configuration.JsonSerializerOptions);
}
}
@@ -5,7 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.0.4.0</Version>
<Version>1.0.4.20240314</Version>
<RepositoryUrl>https://github.com/Stone-Red-Software/StoneRed.NetificationApi</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Description>A .NET library for NotificationAPI</Description>