File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/SocketLabs.EventWebhooks.Extensions Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,16 @@ private async Task ProcessEvent(MessageParsedEvent webhookEvent)
75
75
webhookEvent . DateTime = date ;
76
76
}
77
77
78
- _logger . LogTrace ( "Begin processing parsed message for {ServerId}" , webhookEvent . ServerId ) ;
78
+ _logger . LogTrace ( "Begin processing parsed message for ServerId: {ServerId} SubaccountId: {SubaccountId} IpPoolId: {IpPoolId}" ,
79
+ webhookEvent . ServerId , webhookEvent . SubaccountId , webhookEvent . IpPoolId ) ;
79
80
await _parsedMessagesEventHandler . ProcessAsync ( webhookEvent ) ;
80
81
}
81
82
82
83
private async Task ProcessEvent ( ValidationEvent webhookEvent )
83
84
{
84
85
webhookEvent . Type = "Validation" ;
85
- _logger . LogTrace ( "Begin processing validation message for {ServerId}" , webhookEvent . ServerId ) ;
86
+ _logger . LogTrace ( "Begin processing validation message for ServerId: {ServerId} SubaccountId: {SubaccountId} IpPoolId: {IpPoolId}" ,
87
+ webhookEvent . ServerId , webhookEvent . SubaccountId , webhookEvent . IpPoolId ) ;
86
88
await _parsedMessagesEventHandler . ProcessAsync ( webhookEvent ) ;
87
89
}
88
90
}
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ public abstract class WebhookEventBase
20
20
public string ? MessageId { get ; set ; }
21
21
public string ? Address { get ; set ; }
22
22
public int ServerId { get ; set ; }
23
+ public int SubaccountId { get ; set ; }
24
+ public int IpPoolId { get ; set ; }
23
25
public string ? SecretKey { get ; set ; }
24
26
public Data ? Data { get ; set ; }
25
27
public string ? WebhookEndpointName { get ; set ; }
You can’t perform that action at this time.
0 commit comments