Completed
Push — master ( 6ec982...5e22c4 )
by Pásztor
12:30
created
Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     {
59 59
         $this->app->register(\Autumn\JWTAuth\Providers\JWTServiceProvider::class);
60 60
 
61
-        $this->app['Dingo\Api\Auth\Auth']->extend('jwt', function ($app) {
61
+        $this->app['Dingo\Api\Auth\Auth']->extend('jwt', function($app) {
62 62
             return new \Dingo\Api\Auth\Provider\JWT($app['Tymon\JWTAuth\JWTAuth']);
63 63
         });
64 64
     }
Please login to merge, or discard this patch.
routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 $api = app('Dingo\Api\Routing\Router');
4 4
 
5
-$api->version('v1', function ($api) {
5
+$api->version('v1', function($api) {
6 6
 
7 7
     $api->post('auth/login', 'Autumn\JWTAuth\Http\Controllers\AuthController@authenticate');
8 8
     $api->post('auth/register', 'Autumn\JWTAuth\Http\Controllers\AuthController@register');
Please login to merge, or discard this patch.