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 ccf51be commit f7ddb9fCopy full SHA for f7ddb9f
lib/Gitlab/Model/Wiki.php
@@ -19,6 +19,7 @@ class Wiki extends AbstractModel
19
* @var array
20
*/
21
protected static $properties = array(
22
+ "project",
23
"slug",
24
"title",
25
"format",
@@ -66,7 +67,7 @@ public function show()
66
67
68
public function update(array $params)
69
{
- $data = $this->client->wiki()->update($this->project->id, $this->id, $params);
70
+ $data = $this->client->wiki()->update($this->project->id, $this->slug, $params);
71
72
return static::fromArray($this->getClient(), $this->project, $data);
73
}
0 commit comments