Browse Source

Include data for updateArticle.

Shane Mc Cormack 6 years ago
parent
commit
69f8584a0f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/MyDNSHostAPI.php

+ 1 - 1
src/MyDNSHostAPI.php

@@ -1044,7 +1044,7 @@
 		 * @param $data Data for update
 		 * @param $data Data for update
 		 * @return Result from the API.
 		 * @return Result from the API.
 		 */
 		 */
-		public function updateArticle($articleid) {
+		public function updateArticle($articleid, $data) {
 			if ($this->auth === FALSE) { return []; }
 			if ($this->auth === FALSE) { return []; }
 
 
 			return $this->api('/admin/articles/' . $articleid, 'POST', $data);
 			return $this->api('/admin/articles/' . $articleid, 'POST', $data);