diff --git a/src/http.ts b/src/http.ts index 9127be4..f93231f 100644 --- a/src/http.ts +++ b/src/http.ts @@ -1184,6 +1184,7 @@ export class LemmyHttp { function encodeGetParams(p: BodyType): string { return Object.entries(p) + .filter(kv => !!kv[1]) .map(kv => kv.map(encodeURIComponent).join("=")) .join("&"); }