summary refs log tree commit diff
path: root/src/util
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
commit1c4cb721be7bea3fac69e3b0fdafe0d73d4cef73 (patch)
treea8d458c658edae5b908d50ffea507e838dcca4f7 /src/util
parentread-states/ack-bulk (#969) (diff)
downloadserver-1c4cb721be7bea3fac69e3b0fdafe0d73d4cef73.tar.xz
Impl member lazy request (#970)
Diffstat (limited to 'src/util')
-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[],
 };