From 97cf56e3a3bd362497e3cc0fa4279ea40ee878d7 Mon Sep 17 00:00:00 2001 From: Antoine Niek Date: Tue, 16 Jul 2024 14:41:44 -0400 Subject: [PATCH] Fix passport regression (#121) --- lib/core/network.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/network.ts b/lib/core/network.ts index cdbabf5..9c0493f 100644 --- a/lib/core/network.ts +++ b/lib/core/network.ts @@ -15,7 +15,7 @@ function buildRequest(path: string, config: Required, 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 };