From da5e8794abfa7b96c8c43be5595dbb4243befa26 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Sun, 12 May 2019 20:26:20 +0200 Subject: [PATCH] lint --- src/matrix/hs-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/hs-api.js b/src/matrix/hs-api.js index 66eed71b..4c6ebf86 100644 --- a/src/matrix/hs-api.js +++ b/src/matrix/hs-api.js @@ -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}`);