import { Controller, Get, UseGuards } from '@nestjs/common'; import { ServicioService } from './servicio.service'; import { JwtAuthGuard } from 'src/user/jwt.guard'; @Controller('servicio') export class ServicioController { constructor(private readonly servicioService: ServicioService) {} @UseGuards(JwtAuthGuard) @Get() findAll() { return this.servicioService.findAll(); } } //IO