summary refs log tree commit diff
path: root/api/src/schema/Channel.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-14 13:56:46 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-14 13:56:46 +0200
commit96080e8786a105cfde85c007ecd89c8e7c8c9ff6 (patch)
tree6c5fe974636f6554a318814da12b2550a5f87bc1 /api/src/schema/Channel.ts
parent:bug: fix guild create with channel template (diff)
downloadserver-96080e8786a105cfde85c007ecd89c8e7c8c9ff6.tar.xz
:bug: fix Guild + Channel create
Diffstat (limited to 'api/src/schema/Channel.ts')
-rw-r--r--api/src/schema/Channel.ts2
1 files changed, 2 insertions, 0 deletions
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; }