summary refs log tree commit diff
path: root/src/util/schemas/LazyRequestSchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-30 19:57:00 +1100
committerGitHub <noreply@github.com>2023-01-30 19:57:00 +1100
commit005aa8e52ca8df5443c7e599e2ce230c45582fa7 (patch)
tree197f86080ab424ab0aee74cdc206e30e9e8a1873 /src/util/schemas/LazyRequestSchema.ts
parentread-states/ack-bulk (#969) (diff)
downloadserver-005aa8e52ca8df5443c7e599e2ce230c45582fa7.tar.xz
Impl member lazy request (#970)
Diffstat (limited to '')
-rw-r--r--src/util/schemas/LazyRequestSchema.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/schemas/LazyRequestSchema.ts b/src/util/schemas/LazyRequestSchema.ts
index 7cf3fd36..9d25eb37 100644
--- a/src/util/schemas/LazyRequestSchema.ts
+++ b/src/util/schemas/LazyRequestSchema.ts
@@ -22,7 +22,7 @@ export interface LazyRequestSchema {
 	activities?: boolean;
 	threads?: boolean;
 	typing?: true;
-	members?: unknown[];
+	members?: string[];
 	thread_member_lists?: unknown[];
 }
 
@@ -32,6 +32,6 @@ export const LazyRequestSchema = {
 	$channels: Object,
 	$typing: Boolean,
 	$threads: Boolean,
-	$members: [] as unknown[],
+	$members: [] as string[],
 	$thread_member_lists: [] as unknown[],
 };