Skip to content

Commit

Permalink
linted deposit controller
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-rakib committed Jun 2, 2024
1 parent a4f0052 commit 08f37b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/DepositController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function destroy(Deposit $deposit)

$deposit->deleted_by = auth()->id();
$deposit->save();

$deposit->delete();

return response()->json(['message' => 'Deposited amount deleted'], 204);
Expand Down

0 comments on commit 08f37b5

Please sign in to comment.