remove admin_locale
This commit is contained in:
parent
9109cc7725
commit
89ae3a67ad
|
|
@ -83,7 +83,7 @@ class Carts extends CartController
|
|||
'qty' => 'required|array',
|
||||
]);
|
||||
|
||||
Log::info($request);
|
||||
// Log::info($request);
|
||||
foreach ($request->qty as $qty) {
|
||||
if ($qty <= 0) {
|
||||
return response([
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ Route::group(['prefix' => 'api'], function () {
|
|||
Route::post('register', [Customers::class, 'register']);
|
||||
Route::post('login', [Customers::class, 'login']);
|
||||
Route::group(['middleware' => ['auth:sanctum', 'sanctum.customer']], function () {
|
||||
Route::get('profile',[Customers::class, 'get']);
|
||||
Route::put('profile', [Customers::class, 'update']);
|
||||
/**
|
||||
* Customer address routes.
|
||||
|
|
|
|||
Loading…
Reference in New Issue