Selaa lähdekoodia

Include data for updateArticle.

Shane Mc Cormack 6 vuotta sitten
vanhempi
commit
69f8584a0f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/MyDNSHostAPI.php

+ 1 - 1
src/MyDNSHostAPI.php

@@ -1044,7 +1044,7 @@
 		 * @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);