Kaynağa Gözat

Merge pull request #3269 from pixelfed/staging

Staging
daniel 3 yıl önce
ebeveyn
işleme
d02cf0e38a
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 0
      CHANGELOG.md
  2. 1 1
      app/Http/Controllers/SpaController.php

+ 1 - 0
CHANGELOG.md

@@ -59,6 +59,7 @@
 - Updated ComposeModal.vue, fix redirect after posting. Fixes #3254. ([5db64e94](https://github.com/pixelfed/pixelfed/commit/5db64e94))
 - Updated StatusController, redirect status view for authed users to Metro 2.0 UI. ([71dff472](https://github.com/pixelfed/pixelfed/commit/71dff472))
 - Updated ProfileController, redirect profile view for authed users to Metro 2.0 UI. ([7f8129a7](https://github.com/pixelfed/pixelfed/commit/7f8129a7))
+- Updated SpaController, fix variable typo. Fixes #3268. ([8d1af1d6](https://github.com/pixelfed/pixelfed/commit/8d1af1d6))
 -  ([](https://github.com/pixelfed/pixelfed/commit/))
 
 ## [v0.11.2 (2022-01-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.1...v0.11.2)

+ 1 - 1
app/Http/Controllers/SpaController.php

@@ -119,7 +119,7 @@ class SpaController extends Controller
 
 	public function usernameRedirect(Request $request, $username)
 	{
-		abort_unless($req->user(), 404);
+		abort_unless($request->user(), 404);
 		$id = AccountService::usernameToId($username);
 		if(!$id) {
 			return redirect('/i/web/404');