This commit is contained in:
Adria Navarro 2024-08-14 14:17:32 +02:00
parent 09938ae442
commit 084a481821
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ export async function search(
f => table.schema[f].visible !== false f => table.schema[f].visible !== false
) )
const queriableFields = await getQueriableFields( const queriableFields = await getQueryableFields(
options.fields?.filter(f => tableFields.includes(f)) ?? tableFields, options.fields?.filter(f => tableFields.includes(f)) ?? tableFields,
table table
) )
@ -131,7 +131,7 @@ export async function fetchView(
return pickApi(tableId).fetchView(viewName, params) return pickApi(tableId).fetchView(viewName, params)
} }
async function getQueriableFields( async function getQueryableFields(
fields: string[], fields: string[],
table: Table table: Table
): Promise<string[]> { ): Promise<string[]> {