Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Change reference for createQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Feb 14, 2018
1 parent 91868eb commit 1a47637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -202,7 +202,7 @@ Combined with `.createQuery(query)`, which returns a new RethinkDB query with th
app.service('mesages').hooks({
before: {
find(context) {
const query = this.createQuery(context.params.query);
const query = context.service.createQuery(context.params.query);

const searchString = "my search string";

Expand Down

0 comments on commit 1a47637

Please sign in to comment.