fixing obj to str

This commit is contained in:
Cyprian Beauvois 2019-07-22 11:32:29 +02:00
parent db7a52970a
commit 90d2ebddcc
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class BillingSrv
{
$this->container = $container;
$this->url_prefix = $env->isDebug() ? $this->container->getParameter('dev_ngrok_prefix')
$this->url_prefix = $env == "dev" ? $this->container->getParameter('dev_ngrok_prefix')
: $container->get('router')->getContext()->getBaseUrl();
}