Skip to content

Commit

Permalink
fix(revision): DTOs should correctly extend BaseDto
Browse files Browse the repository at this point in the history
Signed-off-by: David Mehren <[email protected]>
  • Loading branch information
davidmehren committed Mar 7, 2022
1 parent 09ec447 commit c16d5bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/revisions/revision-metadata.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IsDate, IsNumber, IsString } from 'class-validator';

import { BaseDto } from '../utils/base.dto.';
import { Revision } from './revision.entity';

export class RevisionMetadataDto {
export class RevisionMetadataDto extends BaseDto {
/**
* ID of this revision
* @example 13
Expand Down

0 comments on commit c16d5bb

Please sign in to comment.