From b21d8563221f0c32e580ff4e3c8df6bc5192b046 Mon Sep 17 00:00:00 2001 From: David Rouyer Date: Thu, 24 Oct 2019 17:21:03 +0200 Subject: [PATCH] fix: orgId can be null on webhook person --- src/Pipedrive.net/Models/Response/WebhookPerson.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pipedrive.net/Models/Response/WebhookPerson.cs b/src/Pipedrive.net/Models/Response/WebhookPerson.cs index bfef0d40..a2665421 100644 --- a/src/Pipedrive.net/Models/Response/WebhookPerson.cs +++ b/src/Pipedrive.net/Models/Response/WebhookPerson.cs @@ -17,7 +17,7 @@ public class WebhookPerson : IEntityWithCustomFields public long OwnerId { get; set; } [JsonProperty("org_id")] - public long OrgId { get; set; } + public long? OrgId { get; set; } [JsonProperty("name")] public string Name { get; set; }