summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/reactions
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-28 16:46:11 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-28 16:46:11 +0900
commit1acc30822d869fcd4edf70fd8a8dca72f21c8730 (patch)
tree1c452aa0bf777f1cce35b3f21535ee698d3d151e /src/api/endpoints/posts/reactions
parentwip (diff)
downloadsharkey-1acc30822d869fcd4edf70fd8a8dca72f21c8730.tar.gz
sharkey-1acc30822d869fcd4edf70fd8a8dca72f21c8730.tar.bz2
sharkey-1acc30822d869fcd4edf70fd8a8dca72f21c8730.zip
wip
Diffstat (limited to 'src/api/endpoints/posts/reactions')
-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 7031d28e56..6f75a923cd 100644
--- a/src/api/endpoints/posts/reactions/create.ts
+++ b/src/api/endpoints/posts/reactions/create.ts
@@ -116,7 +116,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
});
// この投稿をWatchする
- if (user.account.settings.auto_watch !== false) {
+ if (user.account.settings.autoWatch !== false) {
watch(user._id, post);
}
});