Skip to content

Commit 33b5a8f

Browse files
authored
Update src/utils/validate.ts
1 parent 13b4c6c commit 33b5a8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/validate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export function validateInstantMeiliSearchParams(
2020
)
2121
}
2222

23+
// Validate api key
2324
if (typeof apiKey !== 'string' && typeof apiKey !== 'function') {
2425
throw new TypeError(
2526
'Provided apiKey value (2nd parameter) is not a string or a function, expected string or function'

0 commit comments

Comments
 (0)