Skip to content

Commit

Permalink
fix(test): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
razshlomo committed Feb 22, 2025
1 parent 83ae5b4 commit 2d562fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e-basic-routing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ArticleHandler {
return ARTICLES;
}

@Get('/:id(\\d+)')
@Get('/:id')
public article(@Param('id', ParseNumberPipe) id: number) {
return ARTICLES.find(article => article.id === id);
}
Expand Down

0 comments on commit 2d562fe

Please sign in to comment.