mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
refactor(nestjs): users module
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user