mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 10:32:44 +00:00
Make eslint happy
This commit is contained in:
@@ -105,7 +105,10 @@ async function tryUpdateServerSupportMap(clientApiUrl: string, accessToken?: str
|
|||||||
console.log(`[ServiceWorker] /versions response for '${clientApiUrl}': ${JSON.stringify(versions)}`);
|
console.log(`[ServiceWorker] /versions response for '${clientApiUrl}': ${JSON.stringify(versions)}`);
|
||||||
|
|
||||||
serverSupportMap[clientApiUrl] = {
|
serverSupportMap[clientApiUrl] = {
|
||||||
supportsAuthedMedia: Boolean(versions?.versions?.includes("v1.11") || versions?.unstable_features?.["org.matrix.msc3916.stable"] === true),
|
supportsAuthedMedia: Boolean(
|
||||||
|
versions?.versions?.includes("v1.11") ||
|
||||||
|
versions?.unstable_features?.["org.matrix.msc3916.stable"] === true,
|
||||||
|
),
|
||||||
cacheExpiryTimeMs: new Date().getTime() + 2 * 60 * 60 * 1000, // 2 hours from now
|
cacheExpiryTimeMs: new Date().getTime() + 2 * 60 * 60 * 1000, // 2 hours from now
|
||||||
};
|
};
|
||||||
console.log(
|
console.log(
|
||||||
|
|||||||
Reference in New Issue
Block a user