fixed document request test

This commit is contained in:
Cüneyt Şentürk 2021-01-10 00:01:58 +03:00
parent 88ca122ba0
commit e2d9f0cb92

View File

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