]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/send-request.ts
Add follow tabs
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / send-request.ts
index d47040d6dd0cb2246f1ea479cdc12d3f585abe66..f942a2ebad3fbb6e27b13be89ec7210f89478414 100644 (file)
@@ -85,7 +85,7 @@ export {
 // ---------------------------------------------------------------------------
 
 async function broadcastToFollowers (data: any, fromAccount: AccountInstance, t: Sequelize.Transaction) {
-  const result = await db.Account.listAcceptedFollowerUrlsForApi(fromAccount.id, 0)
+  const result = await db.AccountFollow.listAcceptedFollowerUrlsForApi(fromAccount.id, 0)
 
   const jobPayload = {
     uris: result.data,