Skip to content

Commit

Permalink
use without import
Browse files Browse the repository at this point in the history
  • Loading branch information
notbakaneko committed Oct 9, 2024
1 parent d478214 commit 83ebe94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/BeatmapDiscussionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function vote($id)

priv_check('BeatmapDiscussionVote', $discussion)->ensureCan();

$params = get_params(Request::all(), 'beatmap_discussion_vote', ['score:int']);
$params = get_params(\Request::all(), 'beatmap_discussion_vote', ['score:int']);
$params['user_id'] = Auth::user()->user_id;

if ($discussion->vote($params)) {
Expand Down

0 comments on commit 83ebe94

Please sign in to comment.