From 9b73693910d84b82ff3d1cab61e373b733689fa5 Mon Sep 17 00:00:00 2001 From: Cavanaugh Richards Date: Wed, 21 Jun 2023 17:19:30 -0500 Subject: [PATCH] Run prettier --- src/http.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/http.ts b/src/http.ts index cdc15dd..b659339 100644 --- a/src/http.ts +++ b/src/http.ts @@ -1335,7 +1335,9 @@ export class LemmyHttp { } } -function encodeGetParams(p: BodyType = {}): string { +function encodeGetParams( + p: BodyType = {} +): string { return Object.entries(p) .filter(kv => !!kv[1]) .map(kv => kv.map(encodeURIComponent).join("="))