mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
refactor(media-upload): explicitly use public note ID
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
2c1e0517ff
commit
2689f9f3dc
2 changed files with 3 additions and 3 deletions
|
@ -19,13 +19,13 @@ export class MediaUploadDto extends BaseDto {
|
|||
url: string;
|
||||
|
||||
/**
|
||||
* The noteId of the note to which the uploaded file is linked to.
|
||||
* The publicId of the note to which the uploaded file is linked to.
|
||||
* @example "noteId" TODO how looks a note id?
|
||||
*/
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
@ApiProperty()
|
||||
noteId: string | null;
|
||||
notePublicId: string | null;
|
||||
|
||||
/**
|
||||
* The date when the upload objects was created.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue