Skip to content

Commit 2ab66ea

Browse files
committed
Added missing filter.
1 parent cbcce39 commit 2ab66ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EventCloud.Application/Statistics/StatisticsAppService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public StatisticsAppService(
3131

3232
public async Task<ListResultOutput<NameValueDto>> GetStatistics()
3333
{
34-
//Disabled MayHaveTenant filter to access to all tenant's data, not for only current tenant.
35-
using (CurrentUnitOfWork.DisableFilter(AbpDataFilters.MayHaveTenant))
34+
//Disabled filters to access to all tenant's data, not for only current tenant.
35+
using (CurrentUnitOfWork.DisableFilter(AbpDataFilters.MayHaveTenant, AbpDataFilters.MustHaveTenant))
3636
{
3737
var statisticItems = new List<NameValueDto>
3838
{

0 commit comments

Comments
 (0)