Skip to content

Commit

Permalink
Fix passport regression (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
zapo authored Jul 16, 2024
1 parent 47cc7f4 commit 97cf56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function buildRequest(path: string, config: Required<OptableConfig>, init?: Requ
const ls = new LocalStorage(config);
const pass = ls.getPassport();
url.searchParams.set("cookies", "no");
url.searchParams.set("pass", pass ? pass : "");
url.searchParams.set("passport", pass ? pass : "");
}

const requestInit: RequestInit = { ...init };
Expand Down

0 comments on commit 97cf56e

Please sign in to comment.