server/src/app/Console/Commands/ManageHandles.php
changeset 552 2c579ea45608
parent 406 cf0f23803a53
child 563 41e4eb4d8b82
equal deleted inserted replaced
551:e70004b11b3b 552:2c579ea45608
    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(), config('app.url')."/docs/".$doc->getId());
    50         $this->handleClient->createHandleUrlRecord($doc->getId(), config('app.url')."/docs/".$doc->getId(), $doc->getTitle());
    51     }
    51     }
    52 
    52 
    53     /**
    53     /**
    54      * Execute the console command.
    54      * Execute the console command.
    55      *
    55      *