refactor: ( iam ) add public decorator for public endpoins

This commit is contained in:
Abubeker Yasin
2026-06-24 11:39:31 +03:00
parent b98534f3fd
commit 1dfe4b9c37
7 changed files with 29 additions and 5 deletions

View File

@@ -1,10 +1,12 @@
import { Body, Controller, Post } from '@nestjs/common';
import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger';
import { IsPublic } from '@tria-plc/api-common/modules/auth/decorators/public.decorator';
import { SearchService } from './search.service';
import { SearchTripsDto, FareQuoteDto } from './search.dto';
@ApiTags('Search')
@Controller('search')
@IsPublic()
export class SearchController {
constructor(private service: SearchService) {}