1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-25 11:43:07 +01:00

Sort /channels for gateway consistency

This commit is contained in:
TomatoCake 2024-06-29 14:47:20 +02:00 committed by Madeline
parent e116e93693
commit 6ca12cb7fb

View File

@ -48,6 +48,7 @@ router.get(
channel.guild,
);
}
channels.sort((a, b) => a.position - b.position);
res.json(channels);
},