src/server/Gatekeeper.ts

This commit is contained in:
Scott Anderson
2025-05-14 01:58:02 -04:00
parent 17f2559572
commit 07a04294ad
+1 -1
View File
@@ -29,7 +29,7 @@ export interface Gatekeeper {
let gk: Gatekeeper | null = null; let gk: Gatekeeper | null = null;
async function getGatekeeperCached(): Promise<Gatekeeper> { async function getGatekeeperCached(): Promise<Gatekeeper> {
if (gk != null) { if (gk !== null) {
return gk; return gk;
} }
return getGatekeeper().then((g) => { return getGatekeeper().then((g) => {