forgot to test on rebuild

This commit is contained in:
MathMan05 2025-04-30 15:17:45 -05:00 committed by Rory&
parent a9bff7554a
commit a4c50ae922

View File

@ -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",