Version 5.1 - All the GraphQL #32
@ -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