Add missing tableId setting to search params

This commit is contained in:
Andrew Kingston 2021-05-14 15:46:46 +01:00
parent b402254b2c
commit 5d89f8915e
1 changed files with 1 additions and 0 deletions

View File

@ -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) {