Skip to content

Commit 972e799

Browse files
authored
Update content id param name (#68)
1 parent 4b40f50 commit 972e799

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Resend/EmailAttachment.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public class EmailAttachment
4949
/// Value can then be used as reference in HTML body using <code>cid</code>
5050
/// scheme, e.g. <code>&lt;img src="cid:property-value" &gt; /></code>.
5151
/// </remarks>
52-
[JsonPropertyName( "inline_content_id" )]
52+
[JsonPropertyName( "content_id" )]
5353
[JsonIgnore( Condition = JsonIgnoreCondition.WhenWritingNull )]
54-
public string? InlineContentId { get; set; }
54+
public string? ContentId { get; set; }
5555

5656

5757

@@ -92,4 +92,4 @@ public static EmailAttachment From( string filename )
9292

9393
return attachment;
9494
}
95-
}
95+
}

0 commit comments

Comments
 (0)