summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-23 12:46:33 +1100
committerPuyodead1 <puyodead@proton.me>2023-03-18 19:25:03 -0400
commita390596e3c47e22563782d3ad20d375d2f0a0bf4 (patch)
tree84461622a76e0b101ba32094d0b63ce5292a98e9
parententities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchema (diff)
downloadserver-a390596e3c47e22563782d3ad20d375d2f0a0bf4.tar.xz
Follow Discord docs for `visibility` and `metadata_visibility` fields in ConnectedAccount
-rw-r--r--src/util/entities/ConnectedAccount.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/entities/ConnectedAccount.ts b/src/util/entities/ConnectedAccount.ts
index 714faf0c..25d5a0c7 100644
--- a/src/util/entities/ConnectedAccount.ts
+++ b/src/util/entities/ConnectedAccount.ts
@@ -62,7 +62,7 @@ export class ConnectedAccount extends BaseClass {
 	verified?: boolean = true;
 
 	@Column({ select: false })
-	visibility?: boolean = false;
+	visibility?: number = 0;
 
 	@Column({ type: "simple-array" })
 	integrations?: string[] = [];
@@ -71,7 +71,7 @@ export class ConnectedAccount extends BaseClass {
 	metadata_?: any;
 
 	@Column()
-	metadata_visibility?: boolean = false;
+	metadata_visibility?: number = 0;
 
 	@Column()
 	two_way_link?: boolean = false;