summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2026-02-06 18:36:33 -0600
committerRory& <root@rory.gay>2026-02-08 08:44:27 +0100
commit4e8949686ecafaee66d346eda33b46ef9da82da8 (patch)
tree075ebc875dd9355eb92b9c4ea823f73ce34e2993 /src
parentfix channel flags (diff)
downloadserver-ts-4e8949686ecafaee66d346eda33b46ef9da82da8.tar.xz
have to include tags in the events
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/channels/#channel_id/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/channels/#channel_id/index.ts b/src/api/routes/channels/#channel_id/index.ts

index b7777511..4da3cf09 100644 --- a/src/api/routes/channels/#channel_id/index.ts +++ b/src/api/routes/channels/#channel_id/index.ts
@@ -150,7 +150,7 @@ router.patch( const { channel_id } = req.params as { [key: string]: string }; const channel = await Channel.findOneOrFail({ where: { id: channel_id }, - relations: payload.available_tags ? ["available_tags"] : [], + relations: ["available_tags"], }); if (channel.isThread()) {