api endpoints modified to replace db name to its mapped value

This commit is contained in:
Kallesh B S 2025-09-05 11:15:17 +05:30
parent c1f03cdf43
commit 36529727a0
11 changed files with 11 additions and 11 deletions

View File

@ -26,7 +26,7 @@ import { InternalServerException } from 'src/exceptions/internalServerError.exce
@ApiTags('Carnet Application - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('ca', 'sa')
@Controller('oracle')
@Controller('1')
export class CarnetApplicationController {
constructor(private readonly carnetApplicationService: CarnetApplicationService) { }

View File

@ -20,7 +20,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('HomePage - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('ca', 'sa', 'ua')
@Controller('oracle')
@Controller('1')
export class HomePageController {
constructor(private readonly homePageService: HomePageService) { }

View File

@ -17,7 +17,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('Manage Clients - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('sa')
@Controller('oracle')
@Controller('1')
export class ManageClientsController {
constructor(private readonly manageClientsService: ManageClientsService) { }

View File

@ -14,7 +14,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('Manage Fee - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('sa','ua')
@Controller('oracle')
@Controller('1')
export class ManageFeeController {
constructor(private readonly manageFeeService: ManageFeeService) { }

View File

@ -26,7 +26,7 @@ import { BadRequestException } from 'src/exceptions/badRequest.exception';
@ApiTags('Manage Holders - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('ca', 'sa')
@Controller('oracle')
@Controller('1')
export class ManageHoldersController {
constructor(private readonly manageHoldersService: ManageHoldersService) { }

View File

@ -13,7 +13,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('Param Table - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('sa', 'ua')
@Controller('oracle')
@Controller('1')
export class ParamTableController {
constructor(private readonly paramTableService: ParamTableService) { }

View File

@ -10,7 +10,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('Carnet Sequence - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('sa', 'ua')
@Controller('oracle')
@Controller('1')
export class CarnetSequenceController {
constructor(private readonly carnetSequenceService: CarnetSequenceService) { }

View File

@ -12,7 +12,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('Regions - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('sa', 'ua')
@Controller('oracle')
@Controller('1')
export class RegionController {
constructor(private readonly regionService: RegionService) { }

View File

@ -14,7 +14,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('SPContacts - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('sa', 'ua')
@Controller('oracle')
@Controller('1')
export class SpContactsController {
constructor(private readonly spContactsService: SpContactsService) { }

View File

@ -13,7 +13,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('SP - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('sa', 'ua')
@Controller('oracle')
@Controller('1')
export class SpController {
constructor(private readonly spService: SpService) { }

View File

@ -14,7 +14,7 @@ import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('User Maintenance - Oracle')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('ca', 'sa', 'ua')
@Controller('oracle')
@Controller('1')
export class UserMaintenanceController {
constructor(private readonly userMaintenanceService: UserMaintenanceService) { }