mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 23:41:59 +00:00
src/server/Gatekeeper.ts
This commit is contained in:
@@ -29,7 +29,7 @@ export interface Gatekeeper {
|
||||
let gk: Gatekeeper | null = null;
|
||||
|
||||
async function getGatekeeperCached(): Promise<Gatekeeper> {
|
||||
if (gk != null) {
|
||||
if (gk !== null) {
|
||||
return gk;
|
||||
}
|
||||
return getGatekeeper().then((g) => {
|
||||
|
||||
Reference in New Issue
Block a user