fix(API/index.ts): encode comma in tags array to prevent issues with URL encoding
This commit is contained in:
parent
60747870a6
commit
f11d578efa
1 changed files with 1 additions and 1 deletions
|
|
@ -610,7 +610,7 @@ export async function getStoreComponents(
|
|||
queryParams.push(`status=${status}`);
|
||||
}
|
||||
if (tags !== undefined && tags !== null && tags.length > 0) {
|
||||
queryParams.push(`tags=${tags.join(",")}`);
|
||||
queryParams.push(`tags=${tags.join(encodeURIComponent(","))}`);
|
||||
}
|
||||
|
||||
if (sort !== undefined && sort !== null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue