summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/reactions/create.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 01:20:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 01:20:07 +0900
commit6c4baf69ff6183710032e625bffb274b9f96040b (patch)
treeded9d74505d8e2288dacb430d71a16042ee92fbe /src/api/endpoints/posts/reactions/create.ts
parentWIP #161 (diff)
downloadsharkey-6c4baf69ff6183710032e625bffb274b9f96040b.tar.gz
sharkey-6c4baf69ff6183710032e625bffb274b9f96040b.tar.bz2
sharkey-6c4baf69ff6183710032e625bffb274b9f96040b.zip
WIP #161
Diffstat (limited to 'src/api/endpoints/posts/reactions/create.ts')
-rw-r--r--src/api/endpoints/posts/reactions/create.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/reactions/create.ts b/src/api/endpoints/posts/reactions/create.ts
index 7cae3830e0..eecb928123 100644
--- a/src/api/endpoints/posts/reactions/create.ts
+++ b/src/api/endpoints/posts/reactions/create.ts
@@ -111,5 +111,5 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
// この投稿をWatchする
// TODO: ユーザーが「リアクションしたときに自動でWatchする」設定を
// オフにしていた場合はしない
- watch(user._id, post._id);
+ watch(user._id, post);
});