We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6b8bd commit b625087Copy full SHA for b625087
src/project/ProjectService.php
@@ -24,8 +24,18 @@ public function getAllProjects() {
24
return $prjs;
25
}
26
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
+ */
37
public function get($projectIdOrKey) {
- $ret = $this->exec("$this->uri/$projectIdOrKey", null);
38
+ $ret = $this->exec($this->uri . "/$projectIdOrKey", null);
39
40
$this->log->addInfo("Result=" . $ret );
41
0 commit comments