Skip to content

Commit

Permalink
Frontend broke from quotes in createUrl (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel authored Feb 22, 2024
1 parent 4024461 commit c92485c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/src/requests/createUrl.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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, "&")}`
Expand Down
2 changes: 1 addition & 1 deletion server/src/createUrl.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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, "&")}`
Expand Down

0 comments on commit c92485c

Please sign in to comment.