Skip to content

Commit f7ddb9f

Browse files
author
Luc Morin
committed
change(project and slug typo): Fix minor issues with the and the typo from copying from schedule template.
1 parent ccf51be commit f7ddb9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Gitlab/Model/Wiki.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class Wiki extends AbstractModel
1919
* @var array
2020
*/
2121
protected static $properties = array(
22+
"project",
2223
"slug",
2324
"title",
2425
"format",
@@ -66,7 +67,7 @@ public function show()
6667
*/
6768
public function update(array $params)
6869
{
69-
$data = $this->client->wiki()->update($this->project->id, $this->id, $params);
70+
$data = $this->client->wiki()->update($this->project->id, $this->slug, $params);
7071

7172
return static::fromArray($this->getClient(), $this->project, $data);
7273
}

0 commit comments

Comments
 (0)