mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-20 00:03:21 +00:00
fix: use URLSearchParams.forEach to avoid iterator lib requirement
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
6fb85ee32d
commit
42feec1b2c
@@ -56,9 +56,9 @@
|
||||
if (!url) {
|
||||
return null
|
||||
}
|
||||
for (const [key, value] of params) {
|
||||
params.forEach((value, key) => {
|
||||
url.searchParams.set(key, value)
|
||||
}
|
||||
})
|
||||
return url.toString()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user