Skip to content

Commit

Permalink
Include data for updateArticle.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneMcC committed Mar 10, 2019
1 parent 92d5d03 commit 69f8584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MyDNSHostAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ public function getArticle($articleid) {
* @param $data Data for update
* @return Result from the API.
*/
public function updateArticle($articleid) {
public function updateArticle($articleid, $data) {
if ($this->auth === FALSE) { return []; }

return $this->api('/admin/articles/' . $articleid, 'POST', $data);
Expand Down

0 comments on commit 69f8584

Please sign in to comment.