Skip to content

Commit 59ac1aa

Browse files
RodrigoDevRodrigoDev
authored andcommitted
ajuste segurança
1 parent c781c30 commit 59ac1aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Infra/Implementations/Repositories/TaskRepository.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ public async Task<GetPagedResponse<TaskEntity>> GetPaged(int pageNumber, int pag
7272

7373
if(filter.CategoryId != null)
7474
queryFilter.And(x => x.CategoryId == filter.CategoryId);
75+
76+
if (filter.UserId != null)
77+
queryFilter.And(x => x.UserId == filter.UserId);
7578
}
7679

7780
var query = _dbSet

0 commit comments

Comments
 (0)