From 3d4e9a9b923150d8b1dfcddebc149a66b3af43f0 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Tue, 22 Sep 2020 21:08:14 +0200 Subject: [PATCH] NotesController: `revisionId` is a `number` Signed-off-by: David Mehren --- src/api/public/notes/notes.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }