NotesController: revisionId is a number

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-09-22 21:08:14 +02:00
parent 4f5bb75766
commit e1079947e1
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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);
} }