forgot to test on rebuild

This commit is contained in:
MathMan05
2025-05-28 08:46:35 +02:00
committed by Rory&
parent a9bff7554a
commit a4c50ae922
@@ -163,6 +163,8 @@ router.patch(
const parentPos = notMentioned.indexOf(parent.id);
notMentioned.splice(parentPos + 1, 0, channel.id);
channel.position = (parentPos + 1) as number;
channel.parent = parent;
await channel.save();
await emitEvent({
event: "CHANNEL_UPDATE",