Fix reference to unknown method.

This commit is contained in:
James Cole
2018-04-16 17:51:37 +02:00
parent 1f78b9d4bc
commit 1aa9461370

View File

@@ -225,7 +225,7 @@ class TransactionRequest extends Request
return $first;
}
$account = $repository->findByNameNull($accountName, [AccountType::ASSET]);
$account = $repository->findByName($accountName, [AccountType::ASSET]);
if (null === $account) {
$validator->errors()->add($nameField, trans('validation.belongs_user'));