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.
2 parents 4f5e883 + 5759335 commit 3b116c1Copy full SHA for 3b116c1
lib/Gitlab/Model/Issue.php
@@ -135,7 +135,7 @@ public function reopen()
135
*/
136
public function addComment($comment)
137
{
138
- $data = $this->client->issues()->addComment($this->project->id, $this->id, array(
+ $data = $this->client->issues()->addComment($this->project->id, $this->iid, array(
139
'body' => $comment
140
));
141
@@ -148,7 +148,7 @@ public function addComment($comment)
148
public function showComments()
149
150
$notes = array();
151
- $data = $this->client->issues()->showComments($this->project->id, $this->id);
+ $data = $this->client->issues()->showComments($this->project->id, $this->iid);
152
153
foreach ($data as $note) {
154
$notes[] = Note::fromArray($this->getClient(), $this, $note);
0 commit comments