Correct error message.

This commit is contained in:
Sam Rose 2024-09-26 17:11:50 +01:00
parent d7ffdf02c2
commit 559988e011
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export async function search(
table = source
options = searchInputMapping(table, options)
} else {
throw new Error(`Invalid source ID: ${options.viewId || options.tableId}`)
throw new Error(`Must supply either a view ID or a table ID`)
}
if (options.query) {