diff --git a/Ktisis.Common/Models/GoogleCloud/Tasks/CloudTaskHttpRequest.cs b/Ktisis.Common/Models/GoogleCloud/Tasks/CloudTaskHttpRequest.cs index 0e49443..ac0de3b 100644 --- a/Ktisis.Common/Models/GoogleCloud/Tasks/CloudTaskHttpRequest.cs +++ b/Ktisis.Common/Models/GoogleCloud/Tasks/CloudTaskHttpRequest.cs @@ -1,12 +1,14 @@ +using System.Collections.ObjectModel; + namespace Ktisis.Common.Models.GoogleCloud.Tasks; public class CloudTaskHttpRequest { public required string Url { get; init; } public readonly string HttpMethod = "POST"; - public readonly Dictionary Headers = new() + public readonly ReadOnlyDictionary Headers = new Dictionary { { "Content-Type", "application/json" }, - }; + }.AsReadOnly(); public required string Body { get; init; } }