diff --git a/packages/repository/README.md b/packages/repository/README.md index 242741cae871..96dfe931e8b6 100644 --- a/packages/repository/README.md +++ b/packages/repository/README.md @@ -11,7 +11,7 @@ the legacy `loopback-datasource-juggler` and connector modules from LoopBack This module provides data access facilities to various databases and services. It contains the constructs for modeling and accessing data. We recommend using -Repositories with implmentation of `Controllers`. +Repositories with implementation of `Controllers`. ## Installation @@ -105,7 +105,7 @@ export class NoteController { // Find notes by title @get('/note/{title}') - findByTitle(@param.query.string('title') title: string) { + findByTitle(@param.path.string('title') title: string) { return this.noteRepo.find({where: {title}}); } }