Skip to content

Commit

Permalink
🔨 fix(ticket) : 타입 관련 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNM committed Aug 6, 2022
1 parent f5f8434 commit ddcb09d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/tickets/tickets.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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);
}
Expand All @@ -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);
Expand Down

0 comments on commit ddcb09d

Please sign in to comment.