1
0
Fork 0
mirror of synced 2024-08-23 05:51:29 +12:00

Fix tests

This commit is contained in:
Adria Navarro 2024-05-14 18:08:41 +02:00
parent 76af1208de
commit 6c1b3a0d2d
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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])
}