Skip to content

Commit d0be751

Browse files
committed
fixed the placeholder replacement for request header values
1 parent b91b8a2 commit d0be751

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/Configuration/ItemBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public abstract class ItemBase
1919
/// Gets or sets the change information.
2020
/// </summary>
2121
[XmlIgnore]
22-
protected ChangeInfo? Change { get; set; }
22+
public ChangeInfo? Change { get; set; }
2323

2424
/// <summary>
2525
/// Gets or sets the triggers of the action.

src/Configuration/Notification.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ internal void QueueRequest(string message, TriggerType trigger, ChangeInfo chang
133133
}
134134

135135
Data ??= new Data();
136+
if (Data.Headers != null)
137+
{
138+
Data.Headers.Change = Change;
139+
}
136140

137141
string? content = string.Empty;
138142
if (Data.Body != null)

0 commit comments

Comments
 (0)