File tree Expand file tree Collapse file tree 1 file changed +19
-21
lines changed
services/workflows-service/src/business-report Expand file tree Collapse file tree 1 file changed +19
-21
lines changed Original file line number Diff line number Diff line change 11import * as common from '@nestjs/common' ;
2- import * as swagger from '@nestjs/swagger' ;
3- import { ApiBearerAuth , ApiConsumes } from '@nestjs/swagger' ;
4- import * as errors from '@/errors' ;
52import {
63 BadRequestException ,
74 Body ,
85 Param ,
96 Query ,
107 Res ,
118 UploadedFile ,
12- UseGuards ,
139 UseInterceptors ,
1410} from '@nestjs/common' ;
15- import { AdminAuthGuard } from '@/common/guards/admin-auth.guard' ;
11+ import * as swagger from '@nestjs/swagger' ;
12+ import { ApiBearerAuth , ApiConsumes } from '@nestjs/swagger' ;
13+ import * as errors from '@/errors' ;
1614import { BusinessReportService } from '@/business-report/business-report.service' ;
1715import { AppLoggerService } from '@/common/app-logger/app-logger.service' ;
1816import { CustomerService } from '@/customer/customer.service' ;
@@ -204,20 +202,20 @@ export class BusinessReportControllerExternal {
204202 res . send ( result ) ;
205203 }
206204
207- @common . Get ( )
208- @UseGuards ( AdminAuthGuard )
209- @swagger . ApiOkResponse ( { type : [ String ] } )
210- @swagger . ApiForbiddenResponse ( { type : errors . ForbiddenException } )
211- @swagger . ApiExcludeEndpoint ( )
212- async list ( ) {
213- return await this . prisma . businessReport . findMany ( {
214- include : {
215- project : {
216- include : {
217- customer : true ,
218- } ,
219- } ,
220- } ,
221- } ) ;
222- }
205+ // @common .Get()
206+ // @UseGuards (AdminAuthGuard)
207+ // @swagger .ApiOkResponse({ type: [String] })
208+ // @swagger .ApiForbiddenResponse({ type: errors.ForbiddenException })
209+ // @swagger .ApiExcludeEndpoint()
210+ // async list() {
211+ // return await this.prisma.businessReport.findMany({
212+ // include: {
213+ // project: {
214+ // include: {
215+ // customer: true,
216+ // },
217+ // },
218+ // },
219+ // });
220+ // }
223221}
You can’t perform that action at this time.
0 commit comments