diff --git a/app/models/follow_suggestion.rb b/app/models/follow_suggestion.rb index cfb0887d5cb9288f8a5e4b57fa04eea2d78b97ca..ff07722cadc37cf9fb085340d11a9b4abcb11520 100644 --- a/app/models/follow_suggestion.rb +++ b/app/models/follow_suggestion.rb @@ -37,10 +37,7 @@ END neo = Neography::Rest.new query = <<END -START a=node:account_index(Account={id}) MATCH (b) -WHERE a <> b -AND NOT (a)-[:follows]->(b) RETURN b.account_id ORDER BY b.nodeRank DESC LIMIT {limit}