1
0
Fork 0
mirror of synced 2024-10-04 20:13:35 +13:00

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

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