Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Mar 26, 2024
1 parent 88efc6d commit 86bc6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/Transactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function fields(Request $request): array
'required',
'numeric',
'gt:0',
new TransactionAmount($transaction),
new TransactionAmount($transaction->fill(['type' => $request->input('type')])),
];
}),

Expand Down

0 comments on commit 86bc6ed

Please sign in to comment.