From 2ebbab3aab673aeae458679f41ae7de7d7b5e210 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Wed, 4 Nov 2020 04:43:11 +0100 Subject: [PATCH] Fix bugf --- src/pages/Popup/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Popup/main.ts b/src/pages/Popup/main.ts index 43725b9..98f64a3 100644 --- a/src/pages/Popup/main.ts +++ b/src/pages/Popup/main.ts @@ -45,7 +45,7 @@ async function getJWT(client_id: string, origin: string) { const res = await request(`/api/user/oauth/jwt`, { client_id, origin, - }).then((res) => res.json()); + }); return res; }