X-Git-Url: https://git.cweiske.de/stouyapi.git/blobdiff_plain/3e440a09f7a57ac741d9ab8e0f8c57a8ecd629a7..f19759be619ef2263f7724572ddfde14da47ab9a:/bin/import-game-data.php diff --git a/bin/import-game-data.php b/bin/import-game-data.php index 2607733..0227b45 100755 --- a/bin/import-game-data.php +++ b/bin/import-game-data.php @@ -380,7 +380,7 @@ function buildProduct($product) return null; } return [ - 'type' => 'entitlement', + 'type' => $product->type ?? 'entitlement', 'identifier' => $product->identifier, 'name' => $product->name, 'description' => $product->description ?? '',