diff --git a/src/lib/Hydra/Controller/API.pm b/src/lib/Hydra/Controller/API.pm index 06f35d4b..3105072d 100644 --- a/src/lib/Hydra/Controller/API.pm +++ b/src/lib/Hydra/Controller/API.pm @@ -273,7 +273,7 @@ sub push_github : Chained('api') PathPart('push-github') Args(0) { $c->{stash}->{json}->{jobsetsTriggered} = []; my $in = $c->request->{data}; - my $owner = $in->{repository}->{owner}->{name} or die; + my $owner = $in->{repository}->{owner}->{login} or die; my $repo = $in->{repository}->{name} or die; print STDERR "got push from GitHub repository $owner/$repo\n";