Log for avatar upload

This commit is contained in:
Nabeel Shahzad 2020-11-22 09:59:09 -05:00
parent ced2c150b7
commit 7e4c652330

View File

@ -196,6 +196,7 @@ class ProfileController extends Controller
}); });
$canvas->insert($image); $canvas->insert($image);
Log::info('Uploading avatar into folder '.public_path('uploads/avatars'));
$canvas->save(public_path('uploads/avatars/'.$file_name)); $canvas->save(public_path('uploads/avatars/'.$file_name));
$req_data['avatar'] = $path; $req_data['avatar'] = $path;