Change fromAPIClient to union with null instead of undefined

This commit is contained in:
zkldi
2021-11-11 13:18:12 +00:00
parent 0f059c34d3
commit f1d492b5ee
+1 -1
View File
@@ -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 {