Skip to content

Commit

Permalink
Merge pull request spacebarchat#1201 from CyberL1/fix/pins
Browse files Browse the repository at this point in the history
fix: display pinned message author
  • Loading branch information
MaddyUnderStars authored Aug 28, 2024
2 parents 31ac4a0 + c62748c commit 8c3eec8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/routes/channels/#channel_id/pins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ router.get(

const pins = await Message.find({
where: { channel_id: channel_id, pinned: true },
relations: ["author"],
});

res.send(pins);
Expand Down

0 comments on commit 8c3eec8

Please sign in to comment.