mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
address comments
This commit is contained in:
parent
5963b2baf7
commit
d411b741b3
2 changed files with 3 additions and 2 deletions
|
|
@ -103,7 +103,8 @@ class Create extends Base
|
|||
throw new Exception(Exception::FUNCTION_NOT_FOUND);
|
||||
}
|
||||
|
||||
$branchUrl = $type == GitHub::CLONE_TYPE_BRANCH ? "https://github.com/$owner/$repository/tree/$reference" : "";
|
||||
$branchUrl = "https://github.com/$owner/$repository/blob/$reference";
|
||||
|
||||
$repositoryUrl = "https://github.com/$owner/$repository";
|
||||
|
||||
$template = new Document([
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ class Create extends Base
|
|||
throw new Exception(Exception::SITE_NOT_FOUND);
|
||||
}
|
||||
|
||||
$branchUrl = $type == GitHub::CLONE_TYPE_BRANCH ? "https://github.com/$owner/$repository/tree/$reference" : "";
|
||||
$branchUrl = "https://github.com/$owner/$repository/blob/$reference";
|
||||
$repositoryUrl = "https://github.com/$owner/$repository";
|
||||
|
||||
$template = new Document([
|
||||
|
|
|
|||
Loading…
Reference in a new issue