apache / openwhisk-package-cloudant

The Apache OpenWhisk cloudant package enables you to work with a Cloudant/CouchDB database
https://openwhisk.apache.org/
Apache License 2.0
16 stars 32 forks source link

query_params should not be required when using filter #166

Closed jasonpet closed 6 years ago

jasonpet commented 6 years ago

fix for issue #165

mdeuser commented 6 years ago

@jasonpet - small question about the following error message reject(sendError(400, 'At least one of filter or query_params parameters must be supplied')); is a query parameter valid without a filter? i thought not, but the or in that message seems to allow it.. although this may be a scenario i'm not familiar with.

jasonpet commented 6 years ago

@mdeuser - you are referring to code in update trigger, not create trigger.