From eb17f03462e3b159b68fba1e5ad9166a6b65d129 Mon Sep 17 00:00:00 2001 From: zkldi Date: Wed, 28 Jul 2021 22:35:33 +0100 Subject: [PATCH] update authLevel: null to authLevel: "user" --- common/js/types.d.ts | 2 +- common/src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 9bac879ce..9c3c1286f 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -503,7 +503,7 @@ export interface PublicUserDocument extends MongoDBDocument { customBanner: boolean; clan: string | null; badges: UserBadges[]; - authLevel: "banned" | null | "mod" | "admin"; + authLevel: "banned" | "user" | "mod" | "admin"; } export interface UGSRatingsLookup { "iidx:SP": "BPI" | "ktRating" | "ktLampRating"; diff --git a/common/src/types.ts b/common/src/types.ts index 3fdaf6220..19be54d97 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -698,7 +698,7 @@ export interface PublicUserDocument extends MongoDBDocument { customBanner: boolean; clan: string | null; // todo badges: UserBadges[]; - authLevel: "banned" | null | "mod" | "admin" + authLevel: "banned" | "user" | "mod" | "admin" } export interface UGSRatingsLookup {