diff --git a/src/http.ts b/src/http.ts index c2349ad..b8a227a 100644 --- a/src/http.ts +++ b/src/http.ts @@ -168,6 +168,9 @@ export class LemmyHttp { if (options?.headers) { this.#headers = options.headers; } + if (options?.fetchFunction) { + this.#fetchFunction = options.fetchFunction; + } } /**