fix another stupid bug

This commit is contained in:
MathMan05
2025-05-28 08:46:35 +02:00
committed by Rory&
parent 1550ccd099
commit 91361ea9c6
+1 -1
View File
@@ -170,7 +170,7 @@ router.patch(
channel.position = (parentPos + 1) as number; channel.position = (parentPos + 1) as number;
} }
channel.parent = parent || undefined; channel.parent = parent || undefined;
channel.parent_id = null; channel.parent_id = parent?.id || null;
await channel.save(); await channel.save();
await emitEvent({ await emitEvent({