Fix creating missing Kitsu items

This commit is contained in:
Timothy Warren 2017-04-03 15:46:16 -04:00
parent d91665e3ae
commit 388c0a274d
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class SyncKitsuWithMal extends BaseCommand {
if ( ! empty($data['addToKitsu'])) if ( ! empty($data['addToKitsu']))
{ {
$this->echoBox("Adding missing anime list items to Kitsu"); $this->echoBox("Adding missing anime list items to Kitsu");
$this->createKitusListItems($data['addToKitsu'], 'anime'); $this->createKitsuListItems($data['addToKitsu'], 'anime');
} }
} }
@ -373,7 +373,7 @@ class SyncKitsuWithMal extends BaseCommand {
]; ];
} }
public function createKitusAnimeListItems($itemsToAdd, $type = 'anime') public function createKitsuListItems($itemsToAdd, $type = 'anime')
{ {
$requester = new ParallelAPIRequest(); $requester = new ParallelAPIRequest();
foreach($itemsToAdd as $item) foreach($itemsToAdd as $item)