Skip to content

Commit e296177

Browse files
author
Babichev Maxim
authored
Update CanBePaid.php
1 parent e91b729 commit e296177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/CanBePaid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function paid(Product $product): ?Transfer
5555
->where('to_id', $product->getKey())
5656
->where('refund', 0)
5757
->orderBy('id', 'desc')
58-
->firstOrFail();
58+
->first();
5959
}
6060

6161
/**

0 commit comments

Comments
 (0)