Briefer syntax
This commit is contained in:
parent
edcf9f3fd5
commit
5305a287fe
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue