@@ -15,11 +15,11 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function logout() |
| 17 | 17 | { |
| 18 | - if (! Auth::user()->token()->revoke()) { |
|
| 18 | + if (!Auth::user()->token()->revoke()) { |
|
| 19 | 19 | throw new HttpException(500); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | return response() |
| 23 | - ->json(['message' => 'Successfully logged out']); |
|
| 23 | + ->json([ 'message' => 'Successfully logged out' ]); |
|
| 24 | 24 | } |
| 25 | 25 | } |