From 55e3b3cf73227fefbdf73d12547535689e640674 Mon Sep 17 00:00:00 2001 From: Anna Sandberg Date: Thu, 23 Sep 2021 09:37:24 +0200 Subject: [PATCH] [BUGFIX] re #19075 - Hubspot - Disconnect company does not syncronize hubspot data (#38) add IsReadonly to property NumberOfAssociatedContacts --- src/HubSpot/Deals/Deal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HubSpot/Deals/Deal.cs b/src/HubSpot/Deals/Deal.cs index fd87da5..b707a5a 100644 --- a/src/HubSpot/Deals/Deal.cs +++ b/src/HubSpot/Deals/Deal.cs @@ -29,7 +29,7 @@ public class Deal : IHubSpotDealEntity [CustomProperty("createdate")] public DateTimeOffset Created { get; set; } - [CustomProperty("num_associated_contacts")] + [CustomProperty("num_associated_contacts", IsReadOnly = true)] public long NumberOfAssociatedContacts { get; set; } public IReadOnlyList AssociatedCompanyIds { get; set; } = Array.Empty();