|
@@ -142,7 +142,7 @@ namespace OASystem.API.OAMethodLib.APNs
|
|
|
};
|
|
|
//var content = new StringContent(JsonSerializerTool.SerializeDefault(notContent), System.Text.Encoding.UTF8, Application.Json);
|
|
|
|
|
|
- var content = new StringContent(System.Text.Json.JsonSerializer.Serialize(notContent));
|
|
|
+ var content = new StringContent(System.Text.Json.JsonSerializer.Serialize(notContent), System.Text.Encoding.UTF8, Application.Json);
|
|
|
|
|
|
httpRequestMessage.Content = content;
|
|
|
|