Fix tests
This commit is contained in:
parent
76af1208de
commit
6c1b3a0d2d
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ export async function search(
|
|||
|
||||
const table = await sdk.tables.getTable(options.tableId)
|
||||
options = searchInputMapping(table, options, {
|
||||
isSql: !!table.sql || !!env.SQS_SEARCH_ENABLE,
|
||||
isSql: !!table.sql,
|
||||
})
|
||||
|
||||
if (isExternalTable) {
|
||||
|
|
|
@ -73,7 +73,7 @@ function userColumnMapping(
|
|||
|
||||
let wrapper = (s: string) => s
|
||||
if (isDeprecatedSingleUserColumn && filterValue && isSql) {
|
||||
// Decreated single users are stored as stringified arrays of a single value
|
||||
// Deprecated single users are stored as stringified arrays of a single value
|
||||
wrapper = (s: string) => JSON.stringify([s])
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue