summaryrefslogtreecommitdiff
path: root/src/server/common/get-post-summary.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/common/get-post-summary.ts')
-rw-r--r--src/server/common/get-post-summary.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/common/get-post-summary.ts b/src/server/common/get-post-summary.ts
index 6e8f65708e..8d0033064f 100644
--- a/src/server/common/get-post-summary.ts
+++ b/src/server/common/get-post-summary.ts
@@ -22,7 +22,7 @@ const summarize = (post: any): string => {
}
// 返信のとき
- if (post.reply_id) {
+ if (post.replyId) {
if (post.reply) {
summary += ` RE: ${summarize(post.reply)}`;
} else {
@@ -31,7 +31,7 @@ const summarize = (post: any): string => {
}
// Repostのとき
- if (post.repost_id) {
+ if (post.repostId) {
if (post.repost) {
summary += ` RP: ${summarize(post.repost)}`;
} else {