Completed
Push — master ( 9f8e0d...f3e3f2 )
by Igor
05:16
created
app/Http/Controllers/Auth/AuthController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
             'password' => $request->json('password'),
17 17
         ];
18 18
 
19
-        if (! $token = JWTAuth::attempt($credentials)) {
20
-            return response()->json(['error' => 'invalid_credentials'], 401);
19
+        if (!$token = JWTAuth::attempt($credentials)) {
20
+            return response()->json([ 'error' => 'invalid_credentials' ], 401);
21 21
         }
22 22
 
23 23
         return response()->json(compact('token'));
Please login to merge, or discard this patch.