X-Git-Url: https://git.cweiske.de/stouyapi.git/blobdiff_plain/640eb314fdea7fa2eb9e66d00e8cae785a6cd218..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 ?? '',