Files
bigcapital/packages/server/src/modules/Miscellaneous/Miscellaneous.controller.ts
2025-05-19 19:21:06 +02:00

15 lines
427 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { GetDateFormatsService } from './queries/GetDateFormats.service';
import { ApiTags } from '@nestjs/swagger';
@Controller('/')
@ApiTags('misc')
export class MiscellaneousController {
constructor(private readonly getDateFormatsSevice: GetDateFormatsService) {}
@Get('/date-formats')
getDateFormats() {
return this.getDateFormatsSevice.getDateFormats();
}
}