@@ -14,8 +14,9 @@ |
||
| 14 | 14 | public function showComments(Request $request) |
| 15 | 15 | { |
| 16 | 16 | $userId = $request->input('user_id'); |
| 17 | - if (empty($userId)) |
|
| 18 | - $userId = Auth::user()->uuid; |
|
| 17 | + if (empty($userId)) { |
|
| 18 | + $userId = Auth::user()->uuid; |
|
| 19 | + } |
|
| 19 | 20 | |
| 20 | 21 | $comments = app(GetLastWikiUserComments::class)->get($userId); |
| 21 | 22 | return view('users.profile.comments', [ |