server/src/app/Console/Commands/ManageHandles.php
changeset 406 cf0f23803a53
parent 326 226d5b17a119
child 552 2c579ea45608
equal deleted inserted replaced
405:f239c8c5bb94 406:cf0f23803a53
    45         $this->httpClient = $httpClient;
    45         $this->httpClient = $httpClient;
    46         parent::__construct();
    46         parent::__construct();
    47     }
    47     }
    48 
    48 
    49     private function registerHandle($doc) {
    49     private function registerHandle($doc) {
    50         $this->handleClient->createHandleUrlRecord($doc->getId(), env('APP_URL')."/docs/".$doc->getId());
    50         $this->handleClient->createHandleUrlRecord($doc->getId(), config('app.url')."/docs/".$doc->getId());
    51     }
    51     }
    52 
    52 
    53     /**
    53     /**
    54      * Execute the console command.
    54      * Execute the console command.
    55      *
    55      *