fixed test parameter..

This commit is contained in:
Cüneyt Şentürk 2021-01-09 23:44:50 +03:00
parent 2455ec5d7e
commit 88ca122ba0

View File

@ -28,7 +28,7 @@ class Document extends FormRequest
{ {
$type = $this->request->get('type', Model::INVOICE_TYPE); $type = $this->request->get('type', Model::INVOICE_TYPE);
$type = config('type.' . $type . '.route_parameter'); $type = config('type.' . $type . '.route.parameter');
// Check if store or update // Check if store or update
if ($this->getMethod() == 'PATCH') { if ($this->getMethod() == 'PATCH') {