Skip to content

Commit

Permalink
fix the class name following the convention
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadmp97 committed Sep 17, 2023
1 parent 9d03e13 commit 3139248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/ChallengeCommentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function store(CreateCommentRequest $request, Challenge $challenge, Creat
);
}

public function update(updateCommentRequest $request, $challenge, Comment $comment, UpdateCommentAction $updateCommentAction)
public function update(UpdateCommentRequest $request, $challenge, Comment $comment, UpdateCommentAction $updateCommentAction)
{
if ($comment->user_id !== request()->user()->id) {
throw new UnauthorizedException();
Expand Down

0 comments on commit 3139248

Please sign in to comment.