diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-11-01 10:22:40 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-11-01 10:22:40 +0900 |
| commit | 60a7640eb1547dc61997ba5db1eb2c28bdec33a0 (patch) | |
| tree | 8c0cfd5167e06d81b74efa2bca1f9bb5ab5a8e09 /src/api/serializers/post.ts | |
| parent | v2777 (diff) | |
| download | sharkey-60a7640eb1547dc61997ba5db1eb2c28bdec33a0.tar.gz sharkey-60a7640eb1547dc61997ba5db1eb2c28bdec33a0.tar.bz2 sharkey-60a7640eb1547dc61997ba5db1eb2c28bdec33a0.zip | |
RENAME: reply_to -> reply
Diffstat (limited to 'src/api/serializers/post.ts')
| -rw-r--r-- | src/api/serializers/post.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/serializers/post.ts b/src/api/serializers/post.ts index 7d40df2d6a..7c3690ef79 100644 --- a/src/api/serializers/post.ts +++ b/src/api/serializers/post.ts @@ -123,9 +123,9 @@ const self = ( }); _post.next = next ? next._id : null; - if (_post.reply_to_id) { + if (_post.reply_id) { // Populate reply to post - _post.reply_to = await self(_post.reply_to_id, meId, { + _post.reply = await self(_post.reply_id, meId, { detail: false }); } |