From 6161865f1a5df6a964729762333f809c1d8857d2 Mon Sep 17 00:00:00 2001 From: Gabriel Rosa Date: Wed, 27 Jul 2022 14:25:25 -0300 Subject: [PATCH] FIX: Add authentication on connection-test routes --- src/modules/connection-test/connection-test.controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/connection-test/connection-test.controller.ts b/src/modules/connection-test/connection-test.controller.ts index 44055d1..95ed102 100644 --- a/src/modules/connection-test/connection-test.controller.ts +++ b/src/modules/connection-test/connection-test.controller.ts @@ -23,9 +23,11 @@ import { GetTableMetadataReq, } from './dto/connection-test'; import { DadosferaLogger } from 'dadosfera-logs'; +import { Authenticated } from 'src/authentication/authentication.decorator'; @ApiTags('Connection Test') @Controller('connection-test') +@Authenticated() export class ConnectionTestController { logger: any; constructor(