diff --git a/src/Rsk.Audit.EF/AuditQuery.cs b/src/Rsk.Audit.EF/AuditQuery.cs index ee9b39f..a9b5b19 100644 --- a/src/Rsk.Audit.EF/AuditQuery.cs +++ b/src/Rsk.Audit.EF/AuditQuery.cs @@ -114,7 +114,7 @@ public IAuditQuery AndAction(Matches matchType, string action) public IAuditQuery AndResourceIdentifier(Matches matchType, string resourceIdentifier) { - criteriaBuilder.AndStringMatch(matchType, nameof(AuditEntity.Resource), resourceIdentifier); + criteriaBuilder.AndStringMatch(matchType, nameof(AuditEntity.ResourceIdentifier), resourceIdentifier); return this; } @@ -231,4 +231,4 @@ private Task Count(IQueryable query) return Task.FromResult(query.LongCount()); } } -} \ No newline at end of file +}