Compare commits

...

2 commits

Author SHA1 Message Date
SleeplessOne1917
c7dae42e52
Merge branch 'main' into optional-fetch-fn 2023-06-23 20:35:53 +00:00
SleeplessOne1917
76e17c6c02 Make fetch function optional 2023-06-22 08:06:35 -04:00

View file

@ -158,7 +158,7 @@ export class LemmyHttp {
constructor(
baseUrl: string,
options?: {
fetchFunction: typeof fetch;
fetchFunction?: typeof fetch;
headers?: { [key: string]: string };
}
) {