Skip to content

Commit

Permalink
Merge pull request #2 from DiffyWebsite/feature/fix-diff-url
Browse files Browse the repository at this point in the history
Fixed diff URL.
  • Loading branch information
ygerasimov authored Jul 29, 2019
2 parents 9cd19fc + 34a3ffe commit 439cbd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/diffy/diffy_trigger_compare_job.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

$token = $curl_response->token;

print 'Starting compare job.';
print 'Starting compare job.' . PHP_EOL;
$ch = curl_init();
$curl_opts = [
CURLOPT_URL => 'https://app.diffy.website/api/projects/' . DIFFY_PROJECT_ID . '/compare',
Expand Down Expand Up @@ -112,4 +112,4 @@
curl_close($ch);

print 'Compare job has started.' . PHP_EOL;
print 'Check out the result here: https://app.diffy.website/ui#/diffs/' . str_replace('diff: ', '', $curl_response) . PHP_EOL;
print 'Check out the result here: https://app.diffy.website/#/diffs/' . str_replace('diff: ', '', $curl_response) . PHP_EOL;

0 comments on commit 439cbd8

Please sign in to comment.