diff --git a/src/index.js b/src/index.js index 212bcf0..23380e4 100644 --- a/src/index.js +++ b/src/index.js @@ -159,7 +159,7 @@ class Service { } _create(data, params) { - return this.db().insert(data, this.id).then(rows => this.get(rows[0], params)) + return this.db().insert(data, this.id).then(rows => this._get(rows[0], params)) .catch(errorHandler); }