mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
fix(revision): DTOs should correctly extend BaseDto
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
09ec447069
commit
c16d5bb79e
1 changed files with 2 additions and 1 deletions
|
@ -7,9 +7,10 @@ import { ApiProperty } from '@nestjs/swagger';
|
||||||
import { Type } from 'class-transformer';
|
import { Type } from 'class-transformer';
|
||||||
import { IsDate, IsNumber, IsString } from 'class-validator';
|
import { IsDate, IsNumber, IsString } from 'class-validator';
|
||||||
|
|
||||||
|
import { BaseDto } from '../utils/base.dto.';
|
||||||
import { Revision } from './revision.entity';
|
import { Revision } from './revision.entity';
|
||||||
|
|
||||||
export class RevisionMetadataDto {
|
export class RevisionMetadataDto extends BaseDto {
|
||||||
/**
|
/**
|
||||||
* ID of this revision
|
* ID of this revision
|
||||||
* @example 13
|
* @example 13
|
||||||
|
|
Loading…
Reference in a new issue