From af10fd947ca2b2a995aaacdfffc6942dcbf49ca3 Mon Sep 17 00:00:00 2001 From: Dominic Belair <148768919+belairgrics@users.noreply.github.com> Date: Tue, 28 May 2024 13:40:31 -0400 Subject: [PATCH] Use ResourceIdentifier instead of Resource to reflect the name of the method --- src/Rsk.Audit.EF/AuditQuery.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}