diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-30 13:16:23 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-30 13:16:23 +0100 |
commit | 98ec8b8e73a918d5680e6f13aaef56ca8756c2a8 (patch) | |
tree | a61c6797188227d1d07e3d9f91b8ea09684406c7 /scripts/update-host.ts | |
parent | 1b5b10d13152d704d2396a1e53d56aba1a8e7e03 (diff) | |
download | PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.tar.gz PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.tar.zst PeerTube-98ec8b8e73a918d5680e6f13aaef56ca8756c2a8.zip |
Fix lint
Diffstat (limited to 'scripts/update-host.ts')
-rwxr-xr-x | scripts/update-host.ts | 2 |
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 |