Skip to content

Commit

Permalink
feat(vision): allow options values to be arrays in encodeQueryString
Browse files Browse the repository at this point in the history
  • Loading branch information
juice49 committed Jan 14, 2025
1 parent b43ab19 commit 98e9a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/vision/src/util/encodeQueryString.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function encodeQueryString(
query: string,
params: Record<string, unknown> = {},
options: Record<string, string> = {},
options: Record<string, string | string[]> = {},
): string {
const searchParams = new URLSearchParams()
searchParams.set('query', query)
Expand Down

0 comments on commit 98e9a5f

Please sign in to comment.