mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 17:56:30 -05:00
NotesController: revisionId
is a number
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
706f3a2360
commit
3d4e9a9b92
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export class NotesController {
|
||||||
@Get(':noteIdOrAlias/revisions/:revisionId')
|
@Get(':noteIdOrAlias/revisions/:revisionId')
|
||||||
getNoteRevision(
|
getNoteRevision(
|
||||||
@Param('noteIdOrAlias') noteIdOrAlias: string,
|
@Param('noteIdOrAlias') noteIdOrAlias: string,
|
||||||
@Param('revisionId') revisionId: string,
|
@Param('revisionId') revisionId: number,
|
||||||
) {
|
) {
|
||||||
return this.revisionsService.getNoteRevision(noteIdOrAlias, revisionId);
|
return this.revisionsService.getNoteRevision(noteIdOrAlias, revisionId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue