From c4150f203efce98bd7f49ea090fc3b0306f797cc Mon Sep 17 00:00:00 2001 From: zkldi Date: Thu, 10 Jun 2021 16:01:19 +0100 Subject: [PATCH] remove nullability on identifier --- 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 7af049b00..61504e9c0 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -1120,7 +1120,7 @@ export declare type APIPermissions = "create:goal" | "manage:goal"; export interface TachiAPIAuthData { userID: integer | null; token: string | null; - identifier: string | null; + identifier: string; permissions: Partial>; } export {}; diff --git a/common/src/types.ts b/common/src/types.ts index 59677dcfe..edf3c62e5 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1373,6 +1373,6 @@ export type APIPermissions = "create:goal" | "manage:goal"; export interface TachiAPIAuthData { userID: integer | null; token: string | null; - identifier: string | null; + identifier: string; permissions: Partial>; }