Commit 45ea6f05 authored by michael's avatar michael

60: Change which property to use for deciding Gitlab HTTP url for repo

parent 36055a6b
...@@ -50,7 +50,7 @@ class GitlabHandler implements WebhookHandler { ...@@ -50,7 +50,7 @@ class GitlabHandler implements WebhookHandler {
throw new \Exception("Unable to determine branch from payload data"); throw new \Exception("Unable to determine branch from payload data");
} }
$repo = $payload->repository->git_http_url; $repo = $payload->repository->web_url;
if (empty($repo)) { if (empty($repo)) {
throw new \Exception("Unable to determine repository from payload data"); throw new \Exception("Unable to determine repository from payload data");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment