From: Christian Weiske Date: Fri, 29 Nov 2019 19:58:09 +0000 (+0100) Subject: fix detail videos in new format X-Git-Tag: v1.0.0~25 X-Git-Url: https://git.cweiske.de/stouyapi.git/commitdiff_plain/6bd5ee3ca9568cbce0d5873a46b09c2e76f34056?hp=73656def2207bfc1f5d86332ca5543a1319c94d8 fix detail videos in new format --- diff --git a/bin/import-game-data.php b/bin/import-game-data.php index ae7e24e..75841b6 100755 --- a/bin/import-game-data.php +++ b/bin/import-game-data.php @@ -293,9 +293,7 @@ function buildDetails($game) } else { $mediaTiles[] = [ 'type' => 'video', - 'urls' => [ - 'full' => $medium->url, - ], + 'url' => $medium->url, ]; } }