Run prettier
This commit is contained in:
parent
ea8cab69f4
commit
9b73693910
1 changed files with 3 additions and 1 deletions
|
@ -1335,7 +1335,9 @@ export class LemmyHttp {
|
|||
}
|
||||
}
|
||||
|
||||
function encodeGetParams<BodyType extends object>(p: BodyType = <BodyType>{}): string {
|
||||
function encodeGetParams<BodyType extends object>(
|
||||
p: BodyType = <BodyType>{}
|
||||
): string {
|
||||
return Object.entries(p)
|
||||
.filter(kv => !!kv[1])
|
||||
.map(kv => kv.map(encodeURIComponent).join("="))
|
||||
|
|
Loading…
Reference in a new issue