]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/users/my-subscriptions.ts
Random listen for mocked servers
[github/Chocobozzz/PeerTube.git] / server / controllers / api / users / my-subscriptions.ts
index e3c0cf089a26b6eb1c23ba5c662734e4ed52fcb0..b2b4416734a8e35a055a9538fe2f5da4f07f0042 100644 (file)
@@ -95,7 +95,7 @@ async function areSubscriptionsExist (req: express.Request, res: express.Respons
     return { name, host, uri: u }
   })
 
-  const results = await ActorFollowModel.listSubscribedIn(user.Account.Actor.id, handles)
+  const results = await ActorFollowModel.listSubscriptionsOf(user.Account.Actor.id, handles)
 
   const existObject: { [id: string ]: boolean } = {}
   for (const handle of handles) {