Fix creating missing Kitsu items
This commit is contained in:
parent
d91665e3ae
commit
388c0a274d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user