Add missing tableId setting to search params
This commit is contained in:
parent
b402254b2c
commit
5d89f8915e
|
@ -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