summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/i
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-11-08 16:49:23 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-11-08 16:49:23 +0900
commit9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed (patch)
tree9bae26e351d3cc849b8f38823a3907e9e6b87d13 /src/server/api/endpoints/i
parentFix #6819 (diff)
downloadsharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.tar.gz
sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.tar.bz2
sharkey-9d1fa3f20259cf7c303d49d5aae8e1fecdafc7ed.zip
autoWatch機能を削除
Diffstat (limited to 'src/server/api/endpoints/i')
-rw-r--r--src/server/api/endpoints/i/update.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/api/endpoints/i/update.ts b/src/server/api/endpoints/i/update.ts
index 2029f2b4b6..d3a8e0a8ce 100644
--- a/src/server/api/endpoints/i/update.ts
+++ b/src/server/api/endpoints/i/update.ts
@@ -120,13 +120,6 @@ export const meta = {
}
},
- autoWatch: {
- validator: $.optional.bool,
- desc: {
- 'ja-JP': '投稿の自動ウォッチをするか否か'
- }
- },
-
injectFeaturedNote: {
validator: $.optional.bool,
},
@@ -212,7 +205,6 @@ export default define(meta, async (ps, user, token) => {
if (typeof ps.carefulBot === 'boolean') profileUpdates.carefulBot = ps.carefulBot;
if (typeof ps.autoAcceptFollowed === 'boolean') profileUpdates.autoAcceptFollowed = ps.autoAcceptFollowed;
if (typeof ps.isCat === 'boolean') updates.isCat = ps.isCat;
- if (typeof ps.autoWatch === 'boolean') profileUpdates.autoWatch = ps.autoWatch;
if (typeof ps.injectFeaturedNote === 'boolean') profileUpdates.injectFeaturedNote = ps.injectFeaturedNote;
if (typeof ps.alwaysMarkNsfw === 'boolean') profileUpdates.alwaysMarkNsfw = ps.alwaysMarkNsfw;