Commit 8c6b2ecd authored by Ghitha Dinan's avatar Ghitha Dinan

request

parent 4b4861f2
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
namespace App\Http\Controllers; namespace App\Http\Controllers;
use App\Classes\MResponse; use App\Classes\MResponse;
use App\Htpp\Request\UserCreateRequest; use App\Http\Request\UserCreateRequest;
use App\Htpp\Request\UserCreatesRequest;
use App\Http\Request\UserGetByUsernameRequest; use App\Http\Request\UserGetByUsernameRequest;
use App\Http\Request\UserGetByIdRequest; use App\Http\Request\UserGetByIdRequest;
use App\Http\Request\UserUpdateRequest; use App\Http\Request\UserUpdateRequest;
...@@ -74,7 +73,7 @@ class UserController extends BaseController ...@@ -74,7 +73,7 @@ class UserController extends BaseController
return response()->json($mResponse, $statusCode); return response()->json($mResponse, $statusCode);
} }
public function createUser(UserCreatesRequest $request) public function createUser(UserCreateRequest $request)
{ {
$mResponse = new MResponse(); $mResponse = new MResponse();
$statusCode = 200; $statusCode = 200;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment