diff --git a/src/http.ts b/src/http.ts index 487d931..b0ab650 100644 --- a/src/http.ts +++ b/src/http.ts @@ -1097,8 +1097,10 @@ export class LemmyHttp { } function encodeGetParams(p: BodyType): string { + console.log(p); // Necessary to remove the Options let serialized = JSON.parse(serialize(p)); + console.log(serialized); return ( Object.entries(serialized) // TODO test this, it might serialize the undefineds