Add missing tableId setting to search params
This commit is contained in:
parent
da6b76fbf5
commit
d1ace0f212
|
@ -7,6 +7,7 @@ exports.rowSearch = async ctx => {
|
||||||
const { tableId } = ctx.params
|
const { tableId } = ctx.params
|
||||||
const db = new CouchDB(appId)
|
const db = new CouchDB(appId)
|
||||||
const { paginate, query, ...params } = ctx.request.body
|
const { paginate, query, ...params } = ctx.request.body
|
||||||
|
params.tableId = tableId
|
||||||
|
|
||||||
let response
|
let response
|
||||||
if (paginate) {
|
if (paginate) {
|
||||||
|
|
Loading…
Reference in New Issue