X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fupdate-host.ts;h=759443623ef74950c8cdfcb65cc9eb5b5422b6f8;hb=3daf400219fe8cc94025886ba14876bc59a45244;hp=4410e1ff7e67110fad1830c6a7526bb7f320c1a8;hpb=eb8b27c93e61a896a08923dc1ca3c87ba8cf4948;p=github%2FChocobozzz%2FPeerTube.git 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) return getServerAccount() }) .then(serverAccount => { - return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ]) + return db.AccountFollow.listAcceptedFollowingUrlsForApi([ serverAccount.id ], undefined) }) .then(res => { return res.total > 0