From f19759be619ef2263f7724572ddfde14da47ab9a Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 26 Jan 2020 11:13:47 +0100 Subject: [PATCH] use product type if set to support consumables and subscriptions --- bin/import-game-data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ?? '', -- 2.30.2