Make fetch function optional (#148)
This commit is contained in:
parent
ad1d89ed20
commit
f577df0a07
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ export class LemmyHttp {
|
|||
constructor(
|
||||
baseUrl: string,
|
||||
options?: {
|
||||
fetchFunction: typeof fetch;
|
||||
fetchFunction?: typeof fetch;
|
||||
headers?: { [key: string]: string };
|
||||
}
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue