Explorar el Código

lol my bad for amateur hour

CauseFX hace 5 años
padre
commit
8e1db6da99
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/homepage/lidarr.php

+ 1 - 1
api/homepage/lidarr.php

@@ -130,7 +130,7 @@ trait LidarrHomepageItem
 		foreach ($list as $key => $value) {
 		foreach ($list as $key => $value) {
 			try {
 			try {
 				$downloader = new Kryptonit3\Sonarr\Sonarr($value['url'], $value['token'], true);
 				$downloader = new Kryptonit3\Sonarr\Sonarr($value['url'], $value['token'], true);
-				$results = $downloader->getCalendar($startDate, $endDate, );
+				$results = $downloader->getCalendar($startDate, $endDate);
 				$result = json_decode($results, true);
 				$result = json_decode($results, true);
 				if (is_array($result) || is_object($result)) {
 				if (is_array($result) || is_object($result)) {
 					$calendar = (array_key_exists('error', $result)) ? '' : $this->formatLidarrCalendar($results, $key);
 					$calendar = (array_key_exists('error', $result)) ? '' : $this->formatLidarrCalendar($results, $key);