31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-03 14:10:47 +00:00

Use the repo name from the pull request

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
This commit is contained in:
Roland Dalmulder 2020-04-25 10:18:28 +02:00
parent fe1e8f7e6f
commit 418c1a8cc5
No known key found for this signature in database
GPG Key ID: FD49814C56AE3AF9

View File

@ -576,7 +576,7 @@ class PullModel extends AbstractModel
{
$contentsResponse = $github->getFileContents(
$pull->head->user->login,
$this->getState()->get('github_repo'),
$pull->head->repo->name,
$file->repofilename,
urlencode($pull->head->ref)
);