mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 18:15:41 +00:00
fix: display pinned message author
This commit is contained in:
@@ -179,6 +179,7 @@ router.get(
|
||||
|
||||
const pins = await Message.find({
|
||||
where: { channel_id: channel_id, pinned: true },
|
||||
relations: ["author"],
|
||||
});
|
||||
|
||||
res.send(pins);
|
||||
|
||||
Reference in New Issue
Block a user