1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-05 10:22:31 +01:00

Merge pull request #1201 from CyberL1/fix/pins

fix: display pinned message author
This commit is contained in:
Madeline 2024-08-28 16:52:39 +10:00 committed by GitHub
commit 8c3eec87bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);