Skip to content

Commit

Permalink
split
Browse files Browse the repository at this point in the history
  • Loading branch information
ragokan committed Sep 23, 2024
1 parent 8c78396 commit e32e91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/server/query.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getMultipleParams = router.get("/multiple-params", async (ctx) => {
const getArrayParam = router.get("/array-param", async (ctx) => {
const params = await ctx.getSearchParams();
// TODO: Fix this
const values = params.values.split("%2C");
const values = decodeURIComponent(params.values).split(",");
return ctx.json({ values });
});

Expand Down

0 comments on commit e32e91e

Please sign in to comment.