summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2026-02-05 15:59:30 -0600
committerMathMan05 <mathmanrm@gmail.com>2026-02-05 15:59:30 -0600
commita49f7e677b547ee4af13c4be4a0b6430ad9fae25 (patch)
tree61c90ac49f9228ba7b7717ad401f0b733834fa4d
parentno need to init, the sent message will increment (diff)
downloadserver-ts-a49f7e677b547ee4af13c4be4a0b6430ad9fae25.tar.xz
grab author relation
-rw-r--r--src/api/routes/channels/#channel_id/post-data.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/routes/channels/#channel_id/post-data.ts b/src/api/routes/channels/#channel_id/post-data.ts

index 6f1f530e..f1727109 100644 --- a/src/api/routes/channels/#channel_id/post-data.ts +++ b/src/api/routes/channels/#channel_id/post-data.ts
@@ -61,6 +61,7 @@ router.post( where: { id: In(threads.map(({ id }) => id)), }, + relations: ["author"], }), Member.find({ where: {