Skip to content

Commit

Permalink
Merge pull request #123 from Gosrock/dev
Browse files Browse the repository at this point in the history
🔨 fix(ticket) : 타입 관련 수정
  • Loading branch information
ImNM authored Aug 6, 2022
2 parents ebb3256 + ddcb09d commit 2137fec
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 2137fec

Please sign in to comment.