From c26b5fe05794d6f24d3db91b2acecade81984d93 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 28 Mar 2018 17:02:02 +0900 Subject: wip --- src/api/models/post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/models') diff --git a/src/api/models/post.ts b/src/api/models/post.ts index 4f7729fbe8..7a93753f74 100644 --- a/src/api/models/post.ts +++ b/src/api/models/post.ts @@ -197,7 +197,7 @@ export const pack = async ( // Fetch my reaction if (meId) { - _post.my_reaction = (async () => { + _post.myReaction = (async () => { const reaction = await Reaction .findOne({ userId: meId, -- cgit v1.2.3-freya