From c92485c73667dd9de79e34a29d2f15dd5299afda Mon Sep 17 00:00:00 2001 From: vocksel Date: Wed, 21 Feb 2024 16:33:51 -0800 Subject: [PATCH] Frontend broke from quotes in createUrl (#31) --- plugin/src/requests/createUrl.luau | 2 +- server/src/createUrl.luau | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/requests/createUrl.luau b/plugin/src/requests/createUrl.luau index 805f947..f56b989 100644 --- a/plugin/src/requests/createUrl.luau +++ b/plugin/src/requests/createUrl.luau @@ -9,7 +9,7 @@ local function createUrl(baseUrl: string, query: { [string]: any }?) else value = tostring(value) end - table.insert(joinedQuery, `{key}="{value}"`) + table.insert(joinedQuery, `{key}={value}`) end return `{baseUrl}?{table.concat(joinedQuery, "&")}` diff --git a/server/src/createUrl.luau b/server/src/createUrl.luau index a2d2519..6d23a93 100644 --- a/server/src/createUrl.luau +++ b/server/src/createUrl.luau @@ -9,7 +9,7 @@ local function createUrl(baseUrl: string, query: { [string]: any }?) else value = tostring(value) end - table.insert(joinedQuery, `{key}="{value}"`) + table.insert(joinedQuery, `{key}={value}`) end return `{baseUrl}?{table.concat(joinedQuery, "&")}`