diff --git a/src/api/public/notes/notes.controller.ts b/src/api/public/notes/notes.controller.ts index 7a59d4a0f..00c6c4ee9 100644 --- a/src/api/public/notes/notes.controller.ts +++ b/src/api/public/notes/notes.controller.ts @@ -122,7 +122,7 @@ export class NotesController { @Get(':noteIdOrAlias/revisions/:revisionId') getNoteRevision( @Param('noteIdOrAlias') noteIdOrAlias: string, - @Param('revisionId') revisionId: string, + @Param('revisionId') revisionId: number, ) { return this.revisionsService.getNoteRevision(noteIdOrAlias, revisionId); }