Skip to content

Commit

Permalink
updated create-ticket.dto
Browse files Browse the repository at this point in the history
  • Loading branch information
alxford45 committed Nov 28, 2020
1 parent 2e0f275 commit 747191a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/src/ticket/dto/create-ticket.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { Ticket } from './ticket.dto';
import { OmitType as Omit } from '@nestjs/swagger';

export class CreateTicket extends Omit(Ticket, ['ticket_id', 'status']) {}
export class CreateTicket extends Omit(Ticket, [
'ticket_id',
'status',
'submission_date',
]) {}

0 comments on commit 747191a

Please sign in to comment.