summary refs log tree commit diff
path: root/api/src/util/Channel.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-27 11:10:42 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-27 11:10:42 +0200
commit0ecc5d8c0e353676e9f5bdbc724bb33572d3b572 (patch)
tree75040e26406762efea9daf7e8475e3834495c462 /api/src/util/Channel.ts
parent:sparkles: use RelationId (diff)
downloadserver-0ecc5d8c0e353676e9f5bdbc724bb33572d3b572.tar.xz
:construction: api
Diffstat (limited to 'api/src/util/Channel.ts')
-rw-r--r--api/src/util/Channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/util/Channel.ts b/api/src/util/Channel.ts

index a618d2df..f518aefd 100644 --- a/api/src/util/Channel.ts +++ b/api/src/util/Channel.ts
@@ -57,7 +57,7 @@ export async function createChannel( recipient_ids: null }).save(); - await emitEvent({ event: "CHANNEL_CREATE", data: channel), guild_id: channel.guild_id } as ChannelCreateEvent; + await emitEvent({ event: "CHANNEL_CREATE", data: channel, guild_id: channel.guild_id } as ChannelCreateEvent); return channel; }