aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-host.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/update-host.ts b/scripts/update-host.ts
index 06d84a658..7c46dc52b 100755
--- a/scripts/update-host.ts
+++ b/scripts/update-host.ts
@@ -1,11 +1,11 @@
1import * as Promise from 'bluebird'
2
3import { database as db } from '../server/initializers/database' 1import { database as db } from '../server/initializers/database'
4import { hasFriends } from '../server/lib/friends' 2// import { hasFriends } from '../server/lib/friends'
5 3
6db.init(true) 4db.init(true)
7 .then(() => { 5 .then(() => {
8 return hasFriends() 6 // FIXME: check if has followers
7 // return hasFriends()
8 return true
9 }) 9 })
10 .then(itHasFriends => { 10 .then(itHasFriends => {
11 if (itHasFriends === true) { 11 if (itHasFriends === true) {