lint
This commit is contained in:
parent
75100c1c60
commit
da5e8794ab
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export default class HomeServerApi {
|
|||
|
||||
_request(method, csPath, queryParams = {}, body) {
|
||||
const queryString = Object.entries(queryParams)
|
||||
.filter(([name, value]) => value !== undefined)
|
||||
.filter(([, value]) => value !== undefined)
|
||||
.map(([name, value]) => `${encodeURIComponent(name)}=${encodeURIComponent(value)}`)
|
||||
.join("&");
|
||||
const url = this._url(`${csPath}?${queryString}`);
|
||||
|
|
Reference in a new issue