Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Commit

Permalink
API fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mlantz committed Sep 29, 2016
1 parent 879f573 commit 39cb40d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Console/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function handle()
$this->comment("\n RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]");

$this->line("\n Also update your jwt config file and set the user to:");
$this->comment("\n \App\Repositories\User\User::class ");
$this->comment("\n \App\Models\User::class ");

$this->info('Finished setting up your basic JWT API');
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Validator;
use Illuminate\Http\Request;
use {{App\}}Services\UserService;
use {{App\}}Repositories\User\User;
use {{App\}}Models\User;
use Tymon\JWTAuth\Facades\JWTAuth;
use {{App\}}Http\Controllers\Controller;

Expand Down
2 changes: 1 addition & 1 deletion src/Packages/API/routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
|
*/

Route::group(['prefix' => 'api/v1', 'namespace' => 'Api'], function () {
Route::group(['prefix' => 'v1', 'namespace' => 'Api'], function () {
Route::post('login', 'AuthController@login');
Route::post('register', 'AuthController@register');

Expand Down

0 comments on commit 39cb40d

Please sign in to comment.