aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/update-host.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-host.ts')
-rwxr-xr-xscripts/update-host.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-host.ts b/scripts/update-host.ts
index 4410e1ff7..759443623 100755
--- a/scripts/update-host.ts
+++ b/scripts/update-host.ts
@@ -6,7 +6,7 @@ db.init(true)
6 return getServerAccount() 6 return getServerAccount()
7 }) 7 })
8 .then(serverAccount => { 8 .then(serverAccount => {
9 return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ]) 9 return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ], undefined)
10 }) 10 })
11 .then(res => { 11 .then(res => {
12 return res.total > 0 12 return res.total > 0