remove the uri encoding

This commit is contained in:
6ea86b96 2017-05-23 12:49:15 +04:00
parent 27b9d844b7
commit 60f3a07917
No known key found for this signature in database
GPG key ID: B282D183E4931E8F

View file

@ -19,7 +19,7 @@ export function toQueryString(params) {
const parts = []
for (const key in params) {
if (params.hasOwnProperty(key) && params[key]) {
parts.push(encodeURIComponent(key) + "=" + encodeURIComponent(params[key]))
parts.push(key + "=" + params[key])
}
}
return parts.join("&")