mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-03 11:49:03 +00:00
Use Country constant for amazon lookups
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user