diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-10 17:27:49 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 571389d43b8fc8aaf27e77c06f19b320b08dbbc9 (patch) | |
tree | e57173bcd0590d939c28952a29258fd02a281e35 /scripts/update-host.ts | |
parent | 38fa2065831b5f55be0d7f30f19a62c967397208 (diff) | |
download | PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.gz PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.zst PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.zip |
Make it compile at least
Diffstat (limited to 'scripts/update-host.ts')
-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) { |