summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2024-08-28 16:52:39 +1000
committerGitHub <noreply@github.com>2024-08-28 16:52:39 +1000
commit8c3eec87bb28b42b4dc3dde4ee78d6e88768b809 (patch)
tree01920044bff68946b9249a682a0437d157899885 /src
parentMerge pull request #1199 from DEVTomatoCake/fix/built-in-image-proxy (diff)
parentfix: display pinned message author (diff)
downloadserver-ts-8c3eec87bb28b42b4dc3dde4ee78d6e88768b809.tar.xz
Merge pull request #1201 from CyberL1/fix/pins
fix: display pinned message author
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/channels/#channel_id/pins.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/routes/channels/#channel_id/pins.ts b/src/api/routes/channels/#channel_id/pins.ts

index d43db6ecc..f9586469e 100644 --- a/src/api/routes/channels/#channel_id/pins.ts +++ b/src/api/routes/channels/#channel_id/pins.ts
@@ -179,6 +179,7 @@ router.get( const pins = await Message.find({ where: { channel_id: channel_id, pinned: true }, + relations: ["author"], }); res.send(pins);