diff --git a/src/modules/auth/auth.controller.ts b/src/modules/auth/auth.controller.ts index f25b421..5c5a70a 100644 --- a/src/modules/auth/auth.controller.ts +++ b/src/modules/auth/auth.controller.ts @@ -1,4 +1,12 @@ -import { Controller, Post, Body, HttpCode, HttpStatus, Get, UseGuards } from '@nestjs/common'; +import { + Controller, + Post, + Body, + HttpCode, + HttpStatus, + Get, + UseGuards, +} from '@nestjs/common'; import LoginResponseDto from './dto/loginResponse.dto'; @@ -31,7 +39,7 @@ export class AuthController { @Get('check-token') @UseGuards(KeycloakAuthGuard) @HttpCode(HttpStatus.OK) - async checkToken(): Promise<{ valid: boolean }> { + checkToken(): { valid: boolean } { return { valid: true }; } }