From ddcb09dde3a10fbd25163c4bde442237dacb38da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8E=E1=85=A1=E1=86=AB=E1=84=8C?= =?UTF-8?q?=E1=85=B5=E1=86=AB?= Date: Sat, 6 Aug 2022 17:42:01 +0900 Subject: [PATCH] =?UTF-8?q?:hammer:=20fix(ticket)=20:=20=ED=83=80=EC=9E=85?= =?UTF-8?q?=20=EA=B4=80=EB=A0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tickets/tickets.controller.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tickets/tickets.controller.ts b/src/tickets/tickets.controller.ts index c7aab79..c48c69c 100644 --- a/src/tickets/tickets.controller.ts +++ b/src/tickets/tickets.controller.ts @@ -38,7 +38,6 @@ import { NoAuth } from 'src/auth/guards/NoAuth.guard'; import { TicketCountDto } from './dtos/ticket-count.dto'; import { ErrorResponse } from 'src/common/decorators/ErrorResponse.decorator'; import { TicketEntryResponseDto } from './dtos/ticket-entry-response.dto'; -import { AccessJwtPayload } from 'src/auth/auth.interface'; @ApiTags('tickets') @ApiBearerAuth('accessToken') @@ -156,7 +155,7 @@ export class TicketsController { @Patch('/status') updateTicketStatus( @Body('') updateTicketStatusDto: UpdateTicketStatusDto, - @ReqUser() user: AccessJwtPayload + @ReqUser() user: User ) { return this.ticketService.updateTicketStatus(updateTicketStatusDto, user); } @@ -177,7 +176,7 @@ export class TicketsController { getTicketByUuid( @Param('uuid') uuid: string, - @ReqUser() user: AccessJwtPayload + @ReqUser() user: User ) { //console.log(user); return this.ticketService.findByUuid(uuid, user);