have to include tags in the events

This commit is contained in:
MathMan05
2026-02-06 18:36:33 -06:00
committed by Rory&
parent a642ee47bd
commit 4e8949686e

View File

@@ -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()) {