From a390596e3c47e22563782d3ad20d375d2f0a0bf4 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Fri, 23 Dec 2022 12:46:33 +1100 Subject: Follow Discord docs for `visibility` and `metadata_visibility` fields in ConnectedAccount --- src/util/entities/ConnectedAccount.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util') 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; -- cgit 1.4.1