From f1d492b5eee5bbab8ee5d627ee22b4ec677745ee Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Thu, 11 Nov 2021 13:18:12 +0000 Subject: [PATCH] Change fromAPIClient to union with null instead of undefined --- common/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/types.ts b/common/src/types.ts index 9c59e1e17..9271cdd64 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1262,7 +1262,7 @@ export interface APITokenDocument extends MongoDBDocument { permissions: Partial>; // API Tokens may be created as a result of a Tachi Client flow. This prop optionally // stores that. - fromAPIClient?: string; + fromAPIClient: string | null; } export interface ImportLockDocument extends MongoDBDocument {