Skip to content

Commit b625087

Browse files
committed
url
1 parent 9a6b8bd commit b625087

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/project/ProjectService.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,18 @@ public function getAllProjects() {
2424
return $prjs;
2525
}
2626

27+
/**
28+
* get Project id By Project Key
29+
*
30+
* @param projectName Project Key(Ex: Test, MyProj)
31+
*
32+
* @throws HTTPException if the project is not found, or the calling user does not have permission or view it.
33+
*
34+
* @return string project id
35+
*
36+
*/
2737
public function get($projectIdOrKey) {
28-
$ret = $this->exec("$this->uri/$projectIdOrKey", null);
38+
$ret = $this->exec($this->uri . "/$projectIdOrKey", null);
2939

3040
$this->log->addInfo("Result=" . $ret );
3141

0 commit comments

Comments
 (0)