From 5305a287fecc1574bb8b033482563f0f31e032d6 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 3 Jul 2023 17:10:36 +0100 Subject: [PATCH] Briefer syntax --- src/livekit/openIDSFU.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/livekit/openIDSFU.ts b/src/livekit/openIDSFU.ts index e4d0d45a..89a5d4f3 100644 --- a/src/livekit/openIDSFU.ts +++ b/src/livekit/openIDSFU.ts @@ -50,7 +50,5 @@ export async function getSFUConfigWithOpenID( if (!res.ok) { throw new Error("SFO Config fetch failed with status code " + res.status); } - const sfuConfig = await res.json(); - - return sfuConfig; + return await res.json(); }