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>; }