From 7a3ad6ebc65fb564ba1d7e2ee1c15661fb1f823b Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 10 Jan 2018 16:43:49 -0500 Subject: [PATCH] Correct index of id for kitsu sync --- src/Command/SyncKitsuWithMal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/SyncKitsuWithMal.php b/src/Command/SyncKitsuWithMal.php index be3ee4c2..966aef52 100644 --- a/src/Command/SyncKitsuWithMal.php +++ b/src/Command/SyncKitsuWithMal.php @@ -481,7 +481,7 @@ class SyncKitsuWithMal extends BaseCommand { { $responseData = Json::decode($response); - $id = $itemsToUpdate[$key]['mal_id']; + $id = $itemsToUpdate[$key]['id']; if ( ! array_key_exists('errors', $responseData)) { $verb = ($action === 'update') ? 'updated' : 'created';