X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FGithub%2FAPI%2FHooks%2FCreateHook.php;h=1367b70eaef85cfbac32f899a426bc1840e8d1e0;hb=303950054385d4c55cfef9a8828ee79420b7366e;hp=0d36ad66a621c32475b264bc2736f679e5dd8cd1;hpb=9e35d9e1f6adb610b17e940616cd1dc4ec8aa0d7;p=pharext%2Fpharext.org diff --git a/app/Github/API/Hooks/CreateHook.php b/app/Github/API/Hooks/CreateHook.php index 0d36ad6..1367b70 100644 --- a/app/Github/API/Hooks/CreateHook.php +++ b/app/Github/API/Hooks/CreateHook.php @@ -10,7 +10,7 @@ use http\Client\Response; class CreateHook extends Call { function request() { - $url = $this->url->mod("./repos/". $this->args["repo"] ."/hooks"); + $url = $this->url->mod(":./repos/". $this->args["repo"] ."/hooks"); $request = new Request("POST", $url, [ "Authorization" => "token " . $this->api->getToken(), "Accept" => $this->config->api->accept,