module shop client fix
This commit is contained in:
@ -33,8 +33,8 @@ class ModuleShopClientController extends AdminController
|
||||
{
|
||||
$per_page = 8;
|
||||
|
||||
$token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.W10.POQZmGB7EZIayINtYhzu5r1rdgZhF9qPJpaQkl_g6pU';
|
||||
$modules_info = $this->client->request('GET', 'http://igfs.loc/api/module_shop/gb_slug', [
|
||||
$token = $_ENV['MODULE_SHOP_TOKEN'];
|
||||
$modules_info = $this->client->request('GET', $_ENV['MODULE_SHOP_URL'] . '/module_shop/gb_slug', [
|
||||
'headers' => [
|
||||
'Authorization' => 'Bearer ' . $token,
|
||||
]
|
||||
|
Reference in New Issue
Block a user