Browse Source

Merge branch 'master' into 'develop'

Correct index of id for kitsu sync

See merge request timw4mail/HummingBirdAnimeClient!22
Timothy J. Warren 6 months ago
parent
commit
f5d8d4f18a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Command/SyncKitsuWithMal.php

+ 1
- 1
src/Command/SyncKitsuWithMal.php View File

@@ -481,7 +481,7 @@ class SyncKitsuWithMal extends BaseCommand {
481 481
 		{
482 482
 			$responseData = Json::decode($response);
483 483
 
484
-			$id = $itemsToUpdate[$key]['mal_id'];
484
+			$id = $itemsToUpdate[$key]['id'];
485 485
 			if ( ! array_key_exists('errors', $responseData))
486 486
 			{
487 487
 				$verb = ($action === 'update') ? 'updated' : 'created';