mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06: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 { 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
|
||||
|
|
Loading…
Reference in a new issue