Skip to content

Commit

Permalink
fix: fix mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
shimks committed Mar 21, 2018
1 parent c309ec3 commit a1c704f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/repository/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

0 comments on commit a1c704f

Please sign in to comment.