Use Country constant for amazon lookups

This commit is contained in:
DariusIII
2018-02-23 14:48:55 +01:00
parent 2dc62ab75f
commit 2429406f11
3 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
namespace Blacklight;
use ApaiIO\ApaiIO;
use ApaiIO\Configuration\Country;
use Blacklight\db\DB;
use GuzzleHttp\Client;
use App\Models\Release;
@@ -354,7 +355,7 @@ class Books
try {
$conf
->setCountry('com')
->setCountry(Country::INTERNATIONAL)
->setAccessKey($this->pubkey)
->setSecretKey($this->privkey)
->setAssociateTag($this->asstag)
+2 -1
View File
@@ -3,6 +3,7 @@
namespace Blacklight;
use ApaiIO\ApaiIO;
use ApaiIO\Configuration\Country;
use Blacklight\db\DB;
use GuzzleHttp\Client;
use App\Models\Release;
@@ -773,7 +774,7 @@ class Console
try {
$conf
->setCountry('com')
->setCountry(Country::INTERNATIONAL)
->setAccessKey($this->pubkey)
->setSecretKey($this->privkey)
->setAssociateTag($this->asstag)
+1
View File
@@ -1,4 +1,5 @@
2018-02-23 DariusIII
* Chg: Use Country constant for amazon lookups
* Chg: Update Console class
* Fix: Fix fetching Book data from amazon
* Chg: Make fetching data for books more informative