Briefer syntax
This commit is contained in:
@@ -50,7 +50,5 @@ export async function getSFUConfigWithOpenID(
|
|||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
throw new Error("SFO Config fetch failed with status code " + res.status);
|
throw new Error("SFO Config fetch failed with status code " + res.status);
|
||||||
}
|
}
|
||||||
const sfuConfig = await res.json();
|
return await res.json();
|
||||||
|
|
||||||
return sfuConfig;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user