Merge branch 'master' into 'develop'

Correct index of id for kitsu sync

See merge request timw4mail/HummingBirdAnimeClient!22
This commit is contained in:
Timothy Warren 2018-01-11 09:49:43 -05:00
commit f5d8d4f18a
1 changed files with 1 additions and 1 deletions

View File

@ -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';