summary refs log tree commit diff
path: root/lib/githubexplorer
diff options
context:
space:
mode:
Diffstat (limited to 'lib/githubexplorer')
-rw-r--r--lib/githubexplorer/Network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/githubexplorer/Network.pm b/lib/githubexplorer/Network.pm
index e3c4765..7e836ff 100644
--- a/lib/githubexplorer/Network.pm
+++ b/lib/githubexplorer/Network.pm
@@ -15,7 +15,7 @@ sub fetch_network {
     );
 
     my $edges = $api_repos->network();
-    foreach my $edge (@$network) {
+    foreach my $edge (@$edges) {
         next if $edge->{owner} eq $repos->id_profile->login;
         my $profile = $self->schema->resultset('Profiles')
             ->find( { login => $edge->{owner} } );