mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 15:14:54 +00:00
added enums to replace constants
This commit is contained in:
@ -2,10 +2,11 @@ import { Controller, Get, HttpException, HttpStatus } from '@nestjs/common';
|
||||
import { RegionService } from '../services/region.service';
|
||||
import { ApiTags, ApiOperation } from '@nestjs/swagger';
|
||||
import { ControllerRoute } from '@app/common/constants/controller-route';
|
||||
import { EnableDisableStatusEnum } from '@app/common/constants/days.enum';
|
||||
|
||||
@ApiTags('Region Module')
|
||||
@Controller({
|
||||
version: '1',
|
||||
version: EnableDisableStatusEnum.ENABLED,
|
||||
path: ControllerRoute.REGION.ROUTE,
|
||||
})
|
||||
export class RegionController {
|
||||
|
||||
Reference in New Issue
Block a user