From 31a6c416a623c2461f1bdad56a4cbae1743d837f Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sat, 14 Aug 2021 13:56:46 +0200 Subject: :bug: fix Guild + Channel create --- api/src/schema/Channel.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/src/schema/Channel.ts') diff --git a/api/src/schema/Channel.ts b/api/src/schema/Channel.ts index 18a8f835..bffbaa69 100644 --- a/api/src/schema/Channel.ts +++ b/api/src/schema/Channel.ts @@ -18,6 +18,7 @@ export const ChannelModifySchema = { } ], $parent_id: String, + $id: String, // kept for backwards compatibility does nothing (need for guild create) $nsfw: Boolean }; @@ -46,6 +47,7 @@ export interface ChannelModifySchema { deny: bigint; }[]; parent_id?: string; + id?: string; // is not used (only for guild create) nsfw?: boolean; } -- cgit 1.5.1