mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Update SpaController, fix typo
This commit is contained in:
parent
ecedf0fb28
commit
dab9bcaf36
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class SpaController extends Controller
|
||||||
public function updateLanguage(Request $request)
|
public function updateLanguage(Request $request)
|
||||||
{
|
{
|
||||||
abort_unless(config('exp.spa'), 404);
|
abort_unless(config('exp.spa'), 404);
|
||||||
abort_unless($req->user(), 404);
|
abort_unless($request->user(), 404);
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'v' => 'required|in:0.1,0.2',
|
'v' => 'required|in:0.1,0.2',
|
||||||
'l' => 'required|alpha_dash|max:5'
|
'l' => 'required|alpha_dash|max:5'
|
||||||
|
|
Loading…
Reference in a new issue