File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sample/Helpdesk/Helpdesk.Api/Incidents/GetCustomerIncidentsSummary Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ public class CustomerIncidentsSummaryGrouper: IAggregateGrouper<Guid>
5050{
5151 private readonly Type [ ] eventTypes =
5252 {
53- typeof ( IEvent < IncidentResolved > ) , typeof ( IEvent < ResolutionAcknowledgedByCustomer > ) ,
54- typeof ( IEvent < IncidentClosed > )
53+ typeof ( IncidentResolved ) , typeof ( ResolutionAcknowledgedByCustomer ) ,
54+ typeof ( IncidentClosed )
5555 } ;
5656
5757 public async Task Group ( IQuerySession session , IEnumerable < IEvent > events , ITenantSliceGroup < Guid > grouping )
5858 {
5959 var filteredEvents = events
60- . Where ( ev => eventTypes . Contains ( ev . GetType ( ) ) )
60+ . Where ( ev => eventTypes . Contains ( ev . EventType ) )
6161 . ToList ( ) ;
6262
6363 if ( ! filteredEvents . Any ( ) )
You can’t perform that action at this time.
0 commit comments