We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d31fe1 + 589bfde commit 5ea2012Copy full SHA for 5ea2012
1 file changed
backend/src/entities/table-filters/table-filters.controller.ts
@@ -35,6 +35,7 @@ import {
35
IUpdateTableFilterById,
36
} from './use-cases/table-filters-use-cases.interface.js';
37
import { UpdateTableFilterDs } from './application/data-structures/update-table-filters.ds.js';
38
+import { TableReadGuard } from '../../guards/table-read.guard.js';
39
40
@UseInterceptors(SentryInterceptor)
41
@Controller('table-filters')
@@ -100,7 +101,7 @@ export class TableFiltersController {
100
101
})
102
@ApiQuery({ name: 'tableName', required: true })
103
@ApiParam({ name: 'connectionId', required: true })
- @UseGuards(ConnectionReadGuard)
104
+ @UseGuards(TableReadGuard)
105
@Get('/:connectionId/all')
106
async findTableFilters(
107
@QueryTableName() tableName: string,
0 commit comments