diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-host.ts | 8 |
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 @@ | |||
1 | import * as Promise from 'bluebird' | ||
2 | |||
3 | import { database as db } from '../server/initializers/database' | 1 | import { database as db } from '../server/initializers/database' |
4 | import { hasFriends } from '../server/lib/friends' | 2 | // import { hasFriends } from '../server/lib/friends' |
5 | 3 | ||
6 | db.init(true) | 4 | db.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) { |