Skip to content

Commit 5de22f1

Browse files
committed
fix: Ref: Sailthru support - provide the message_id as null if not provided
1 parent 9b6fd0a commit 5de22f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/SailthruSDK/Purchase/UpsertPurchaseRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public override void Write(Utf8JsonWriter writer, UpsertPurchaseRequest value, J
7070

7171
writer.WriteStringProperty("email", value.Email, options);
7272
writer.WriteBooleanProperty("incomplete", value.Incomplete, options);
73-
writer.WriteStringProperty("message_id", value.MessageId ?? "", options);
73+
writer.WriteStringProperty("message_id", value.MessageId ?? default, options);
7474

7575
writer.WritePropertyName("items");
7676
writer.WriteStartArray();

0 commit comments

Comments
 (0)