module shop client fix

This commit is contained in:
apuc committed 2024-11-05 13:44:08 +03:00
1 parent 6f7debc25b
commit 825d3df776
3 files changed
+23 -8

No files matched your search

@@ -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,
]