1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Don't encode undefined (#12404)

This commit is contained in:
melohagan 2023-11-21 16:13:11 +00:00 committed by GitHub
parent f35e3cb99c
commit 483a267875
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -404,7 +404,7 @@
datasource = $datasources.list.find(ds => ds._id === query?.datasourceId)
const datasourceUrl = datasource?.config.url
const qs = query?.fields.queryString
breakQs = restUtils.breakQueryString(encodeURI(qs))
breakQs = restUtils.breakQueryString(encodeURI(qs ?? ""))
breakQs = runtimeToReadableMap(mergedBindings, breakQs)
const path = query.fields.path