Skip to content

Commit

Permalink
Used wrong constant
Browse files Browse the repository at this point in the history
I am an idiot
  • Loading branch information
JeroenBoersma authored Mar 3, 2023
1 parent da1cafc commit 5e8af18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public function isEnabled(int $storeId = null): bool

public function getTrackingId(int $storeId = null): string
{
return (string)$this->config->getValue(self::CONFIG_RUMVISION_ENALBED, ScopeInterface::SCOPE_STORE, $this->getStoreId($storeId));
return (string)$this->config->getValue(self::CONFIG_RUMVISION_TRACKING_ID, ScopeInterface::SCOPE_STORE, $this->getStoreId($storeId));
}

public function getHostName(int $storeId = null): string
{
return (string)$this->config->getValue(self::CONFIG_RUMVISION_ENALBED, ScopeInterface::SCOPE_STORE, $this->getStoreId($storeId));
return (string)$this->config->getValue(self::CONFIG_RUMVISION_HOST_NAME, ScopeInterface::SCOPE_STORE, $this->getStoreId($storeId));
}

public function getStoreId(int $storeId = null) :int
Expand Down

0 comments on commit 5e8af18

Please sign in to comment.