We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b4c6c commit 33b5a8fCopy full SHA for 33b5a8f
src/utils/validate.ts
@@ -20,6 +20,7 @@ export function validateInstantMeiliSearchParams(
20
)
21
}
22
23
+ // Validate api key
24
if (typeof apiKey !== 'string' && typeof apiKey !== 'function') {
25
throw new TypeError(
26
'Provided apiKey value (2nd parameter) is not a string or a function, expected string or function'
0 commit comments