]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-channel.ts
add user account email verificiation (#977)
[github/Chocobozzz/PeerTube.git] / server / models / video / video-channel.ts
index e70e525153c0351bf40bfd7bc6f2ff89d2402132..475530daf4f423ede8fc5b8b645d773538fa566d 100644 (file)
@@ -71,7 +71,7 @@ type AvailableForListOptions = {
     const inQueryInstanceFollow = '(' +
       'SELECT "actor"."serverId" FROM "actorFollow" ' +
       'INNER JOIN "actor" ON actor.id=  "actorFollow"."targetActorId" ' +
-      'WHERE "actor"."id" = ' + actorIdNumber +
+      'WHERE "actorFollow"."actorId" = ' + actorIdNumber +
     ')'
 
     return {