mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 18:15:41 +00:00
have to include tags in the events
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user