summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/polls
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/polls
parentwip (diff)
downloadmisskey-1acc30822d869fcd4edf70fd8a8dca72f21c8730.tar.gz
misskey-1acc30822d869fcd4edf70fd8a8dca72f21c8730.tar.bz2
misskey-1acc30822d869fcd4edf70fd8a8dca72f21c8730.zip
wip
Diffstat (limited to 'src/api/endpoints/posts/polls')
-rw-r--r--src/api/endpoints/posts/polls/vote.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/polls/vote.ts b/src/api/endpoints/posts/polls/vote.ts
index e87474ae6e..734a3a3c45 100644
--- a/src/api/endpoints/posts/polls/vote.ts
+++ b/src/api/endpoints/posts/polls/vote.ts
@@ -100,7 +100,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);
}
});