Use new API endpoint to search for purchased products
authorAlexander Ebert <ebert@woltlab.com>
Mon, 11 Sep 2017 11:43:06 +0000 (13:43 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 11 Sep 2017 11:43:11 +0000 (13:43 +0200)
Fixes #2420

wcfsetup/install/files/lib/data/package/PackageAction.class.php

index 89168bb1a303b9e90586c8133dd307207e408d1a..e8d2c39c68576b8e4c952cb1a35ce412672d1fb6 100644 (file)
@@ -95,7 +95,7 @@ class PackageAction extends AbstractDatabaseObjectAction {
                        ];
                }
                
-               $request = new HTTPRequest('https://api.woltlab.com/1.0/customer/purchases/list.json', [
+               $request = new HTTPRequest('https://api.woltlab.com/1.1/customer/purchases/list.json', [
                        'method' => 'POST'
                ], [
                        'username' => $this->parameters['username'],