Skip to content

Commit

Permalink
feat: set container lib version
Browse files Browse the repository at this point in the history
  • Loading branch information
hschoenenberger committed Dec 24, 2024
1 parent f51919b commit 6cadfb9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions controllers/front/apiV2ShopHealthCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,6 @@ public function show(Shop $shop, ShopHealthCheckRequest $request)
$firebaseOwnerToken = $this->firebaseOwnerSession->getToken();
$shopToken = $this->shopSession->getToken();

// $privateInfo = [
// 'shopId' => $shop->id,
// 'shopBoUri' => '',
// 'moduleVersion' => Ps_accounts::VERSION,
// 'psVersion' => _PS_VERSION_,
// 'phpVersion' => phpversion(),
// ];
$healthCheckMessage = [
'oauth2Client' => $this->oauth2Client->exists(),
'shopLinked' => (bool) $this->linkShop->getShopUuid(),
Expand All @@ -166,6 +159,8 @@ public function show(Shop $shop, ShopHealthCheckRequest $request)

if ($this->authenticated) {
$healthCheckMessage = array_merge($healthCheckMessage, [
// 'shopId' => $shop->id,
// 'shopBoUri' => '',
'ps_version' => _PS_VERSION_,
'module_version' => Ps_accounts::VERSION,
'php_version' => phpversion(),
Expand Down

0 comments on commit 6cadfb9

Please sign in to comment.