fixed type

This commit is contained in:
Cüneyt Şentürk
2021-01-10 14:28:22 +03:00
parent 39f4a1913c
commit 401a8ca8ea
2 changed files with 3 additions and 3 deletions

View File

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