1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-08 11:52:55 +01:00

fix: display pinned message author

This commit is contained in:
Cyber 2024-08-28 08:17:54 +02:00
parent 31ac4a063c
commit c62748cbf0

View File

@ -179,6 +179,7 @@ router.get(
const pins = await Message.find({ const pins = await Message.find({
where: { channel_id: channel_id, pinned: true }, where: { channel_id: channel_id, pinned: true },
relations: ["author"],
}); });
res.send(pins); res.send(pins);