Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/cholladay0816/CreatorCore
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
cholladay0816 committed Sep 5, 2023
2 parents 11adfbd + 481654d commit c7eef8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Http/Controllers/CommissionPresetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ public function update(Request $request, CommissionPreset $commissionPreset)
*/
public function destroy(CommissionPreset $commissionPreset)
{
if($commissionPreset->user_id != auth()->id())
{
if($commissionPreset->user_id != auth()->id()) {
abort(403);
}
$commissionPreset->delete();
Expand Down

0 comments on commit c7eef8f

Please sign in to comment.