summary refs log tree commit diff
path: root/src/util/schemas
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-08-06 22:49:38 -0400
committerPuyodead1 <puyodead@proton.me>2023-08-06 22:51:34 -0400
commit033e2108e732093cbf51b141d6ba52452ce1f836 (patch)
treee229191e2ee72e11e98337203575d3030de4bb9d /src/util/schemas
parentgenerate openapi (diff)
downloadserver-033e2108e732093cbf51b141d6ba52452ce1f836.tar.xz
Fix some linting warnings
Diffstat (limited to 'src/util/schemas')
-rw-r--r--src/util/schemas/ConnectedAccountSchema.ts2
-rw-r--r--src/util/schemas/ConnectionCallbackSchema.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/schemas/ConnectedAccountSchema.ts b/src/util/schemas/ConnectedAccountSchema.ts
index fe808a35..5fd05b71 100644
--- a/src/util/schemas/ConnectedAccountSchema.ts
+++ b/src/util/schemas/ConnectedAccountSchema.ts
@@ -30,7 +30,7 @@ export interface ConnectedAccountSchema {
 	verified?: boolean;
 	visibility?: number;
 	integrations?: string[];
-	metadata_?: any;
+	metadata_?: unknown;
 	metadata_visibility?: number;
 	two_way_link?: boolean;
 }
diff --git a/src/util/schemas/ConnectionCallbackSchema.ts b/src/util/schemas/ConnectionCallbackSchema.ts
index eb86c087..b66bfe20 100644
--- a/src/util/schemas/ConnectionCallbackSchema.ts
+++ b/src/util/schemas/ConnectionCallbackSchema.ts
@@ -21,5 +21,5 @@ export interface ConnectionCallbackSchema {
 	state: string;
 	insecure: boolean;
 	friend_sync: boolean;
-	openid_params?: any; // TODO: types
+	openid_params?: unknown; // TODO: types
 }