summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorCyber <mateusz.hf18@gmail.com>2024-08-28 08:17:54 +0200
committerCyber <mateusz.hf18@gmail.com>2024-08-28 08:17:54 +0200
commitc62748cbf01e87e213dbce9774063f3a10d49563 (patch)
tree01920044bff68946b9249a682a0437d157899885 /src/api
parentMerge pull request #1199 from DEVTomatoCake/fix/built-in-image-proxy (diff)
downloadserver-ts-c62748cbf01e87e213dbce9774063f3a10d49563.tar.xz
fix: display pinned message author
Diffstat (limited to 'src/api')
-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);