mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 19:07:58 +03:00
Change fromAPIClient to union with null instead of undefined
This commit is contained in:
+1
-1
@@ -1262,7 +1262,7 @@ export interface APITokenDocument extends MongoDBDocument {
|
||||
permissions: Partial<Record<APIPermissions, boolean>>;
|
||||
// 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 {
|
||||
|
||||
Reference in New Issue
Block a user