Reduce docker api image size, fix issues
This commit is contained in:
@@ -40,13 +40,11 @@ class ProfileController extends Controller
|
||||
'password.not_in' => "Please another password other than 'password'."
|
||||
]);
|
||||
|
||||
ray('in', $request->password);
|
||||
$user = $request->user();
|
||||
$user->update([
|
||||
'email' => $request->email,
|
||||
'password' => bcrypt($request->password),
|
||||
]);
|
||||
ray($user);
|
||||
|
||||
Cache::forget('initial_user_setup_complete');
|
||||
Cache::forget('max_user_id');
|
||||
|
||||
@@ -39,7 +39,8 @@
|
||||
"stevebauman/purify": "*",
|
||||
"tymon/jwt-auth": "*",
|
||||
"vinkla/hashids": "*",
|
||||
"fakerphp/faker": "^1.23"
|
||||
"fakerphp/faker": "^1.23",
|
||||
"spatie/laravel-ray": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"barryvdh/laravel-ide-helper": "^3.0.0",
|
||||
@@ -50,8 +51,7 @@
|
||||
"nunomaduro/collision": "*",
|
||||
"pestphp/pest": "^2.0",
|
||||
"pestphp/pest-plugin-laravel": "^2.4",
|
||||
"spatie/laravel-ignition": "*",
|
||||
"spatie/laravel-ray": "*"
|
||||
"spatie/laravel-ignition": "*"
|
||||
},
|
||||
"config": {
|
||||
"optimize-autoloader": true,
|
||||
|
||||
1846
api/composer.lock
generated
1846
api/composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -236,9 +236,6 @@ test('make up a submission when polling without any submission', function () {
|
||||
// Decode the response data
|
||||
$responseData = $response->json()[0];
|
||||
|
||||
ray($responseData);
|
||||
|
||||
ray($responseData);
|
||||
$this->assertNotEmpty($responseData['data']);
|
||||
$this->assertTrue(count($responseData['data']) == 2);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user