Skip to content

Commit 4e034b4

Browse files
authored
fix: missing creator for top level reply (#984)
1 parent a15f73d commit 4e034b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

routes/private/routes/group.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ export async function setup(app: App) {
322322
}
323323
const reply = {
324324
...convert.toGroupTopicReply(x),
325+
creator: users[x.uid],
325326
replies: subReplies[x.id] ?? [],
326327
reactions: reactions[x.id] ?? [],
327328
};

routes/private/routes/subject.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ export async function setup(app: App) {
965965
}
966966
const reply = {
967967
...convert.toSubjectTopicReply(x),
968+
creator: users[x.uid],
968969
replies: subReplies[x.id] ?? [],
969970
reactions: reactions[x.id] ?? [],
970971
};

0 commit comments

Comments
 (0)