mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 19:43:16 +00:00
added missing author to replies
This commit is contained in:
1 parent
25e90df28d
commit
f109db3536
1 file changed
+4
-1
@@ -265,7 +265,10 @@ router.get(
|
||||
|
||||
const message = await Message.findOneOrFail({
|
||||
where: { id: message_id, channel_id },
|
||||
relations: { attachments: true },
|
||||
relations: {
|
||||
attachments: true,
|
||||
author: true,
|
||||
},
|
||||
});
|
||||
|
||||
const permissions = await getPermission(req.user_id, undefined, channel_id);
|
||||
|
||||
Reference in new issue
Block a user