Merge pull request #1201 from CyberL1/fix/pins
fix: display pinned message author
This commit is contained in:
commit
8c3eec87bb
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user