old client structure
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// Equivalent of jQuery's param
|
||||
|
||||
export default function (params) {
|
||||
return Object.keys(params).map((k) => {
|
||||
return `${encodeURIComponent(k)}=${encodeURIComponent(params[k])}`;
|
||||
}).join('&');
|
||||
}
|
||||
Reference in New Issue
Block a user