Creator update hotfixes (#1531)

* Put image upload on v3

* Fix space encoding in search

* Add safety to any iterables
This commit is contained in:
Carter
2024-01-07 14:28:51 -08:00
committed by GitHub
parent 1af0aa3f57
commit 9dcb90a9cf
3 changed files with 19 additions and 25 deletions

View File

@@ -442,7 +442,7 @@ const {
const params = [`limit=${maxResults.value}`, `index=${sortType.value.name}`]
if (query.value.length > 0) {
params.push(`query=${encodeURIComponent(query.value.replace(/ /g, '+'))}`)
params.push(`query=${encodeURIComponent(query.value)}`)
}
if (