diff --git a/packages/utilities/src/api.ts b/packages/utilities/src/api.ts index 628e772..2f8888b 100644 --- a/packages/utilities/src/api.ts +++ b/packages/utilities/src/api.ts @@ -141,7 +141,7 @@ export const search = async ( try { response = (await client - .get(`search/${table}/${fields.join(',')}/`, { + .get(`search/${table}/${fields.filter(Boolean).join(',')}/`, { searchParams: { ...options, apiKey,