Skip to content

Commit

Permalink
Make fetch function optional (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessOne1917 authored Jun 26, 2023
1 parent ad1d89e commit f577df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class LemmyHttp {
constructor(
baseUrl: string,
options?: {
fetchFunction: typeof fetch;
fetchFunction?: typeof fetch;
headers?: { [key: string]: string };
}
) {
Expand Down

0 comments on commit f577df0

Please sign in to comment.