Add same change to description for findOne

This commit is contained in:
Quentin Presley 2019-03-15 07:43:13 -07:00
parent b91938ecdf
commit 6caf506769
1 changed files with 3 additions and 1 deletions

View File

@ -812,7 +812,9 @@ module.exports = function(registry) {
accepts: [
{arg: 'filter', type: 'object', description:
'Filter defining fields, where, include, order, offset, and limit - must be a ' +
'JSON-encoded string ({"something":"value"})'},
'JSON-encoded string ({"where":{"something":"value"}}). ' +
'See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries ' +
'for more details.'},
{arg: 'options', type: 'object', http: 'optionsFromRequest'},
],
returns: {arg: 'data', type: typeName, root: true},