From 96246a74240d98635639be385d46ff54619db865 Mon Sep 17 00:00:00 2001 From: Andrew Theken Date: Wed, 7 Nov 2018 16:42:55 -0500 Subject: [PATCH] Default TemplateId to a nullable value, instead of 0 --- src/Postmark/Model/TemplatedPostmarkMessage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Postmark/Model/TemplatedPostmarkMessage.cs b/src/Postmark/Model/TemplatedPostmarkMessage.cs index a3f5ade..d1d382b 100644 --- a/src/Postmark/Model/TemplatedPostmarkMessage.cs +++ b/src/Postmark/Model/TemplatedPostmarkMessage.cs @@ -24,7 +24,7 @@ public TemplatedPostmarkMessage() /// The template to use when sending this message. Either this or the TemplateAlias are required /// when sending using a template. TemplateId takes precendent when both are specified. /// - public long TemplateId { get; set; } + public long? TemplateId { get; set; } /// /// The alias of the template to use. Either this value, or the TemplateId are required