aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/update-host.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-10 17:27:49 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit571389d43b8fc8aaf27e77c06f19b320b08dbbc9 (patch)
treee57173bcd0590d939c28952a29258fd02a281e35 /scripts/update-host.ts
parent38fa2065831b5f55be0d7f30f19a62c967397208 (diff)
downloadPeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.gz
PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.tar.zst
PeerTube-571389d43b8fc8aaf27e77c06f19b320b08dbbc9.zip
Make it compile at least
Diffstat (limited to 'scripts/update-host.ts')
-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) {