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 6, 2023
2 parents 9b47e5d + 1c2d91f commit 1c9dd27
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 @@ -83,8 +83,7 @@ public function edit(CommissionPreset $commissionPreset)
*/
public function update(Request $request, CommissionPreset $commissionPreset)
{
if($commissionPreset->user_id != auth()->id())
{
if($commissionPreset->user_id != auth()->id()) {
abort(403);
}
$res = $this->validate($request, [
Expand Down

0 comments on commit 1c9dd27

Please sign in to comment.