X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FController%2FGithub.php;h=0c38bd7721cb3daf40f36e65ac8dbcf9a389e271;hb=25b99959b9e66d00681092977c23b5df32ead5f4;hp=5933fcd2ffc12aee7ccf5ef74a79daaea9e6e3dd;hpb=07b87ac26f62bc3c069bb16983fe7500272e19b4;p=pharext%2Fpharext.org diff --git a/app/Controller/Github.php b/app/Controller/Github.php index 5933fcd..0c38bd7 100644 --- a/app/Controller/Github.php +++ b/app/Controller/Github.php @@ -58,7 +58,7 @@ abstract class Github implements Controller if ($repo->hooks) { foreach ($repo->hooks as $hook) { if ($hook->name === "web" && $hook->config->url === $this->github->getConfig()->hook->url) { - return $hook->id; + return $hook; } } }