fix: update storage paths for store logo and banner uploads to include 'upload/images'
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 2m4s
All checks were successful
Deploy Production (crewsportswear.com) / deploy (push) Successful in 2m4s
This commit is contained in:
@@ -967,11 +967,11 @@ class UserController extends Controller
|
||||
// var_dump($res);
|
||||
// if($res){
|
||||
if ($request->file('store_logo') != null) {
|
||||
Storage::disk('minio')->put('teamstore/' . $orig_store_url . '/' . $store_logo_name, file_get_contents($request->file('store_logo')->getRealPath()));
|
||||
Storage::disk('minio')->put('upload/images/teamstore/' . $orig_store_url . '/' . $store_logo_name, file_get_contents($request->file('store_logo')->getRealPath()));
|
||||
}
|
||||
|
||||
if ($request->file('store_banner') != null) {
|
||||
Storage::disk('minio')->put('teamstore/' . $orig_store_url . '/' . $store_banner_name, file_get_contents($request->file('store_banner')->getRealPath()));
|
||||
Storage::disk('minio')->put('upload/images/teamstore/' . $orig_store_url . '/' . $store_banner_name, file_get_contents($request->file('store_banner')->getRealPath()));
|
||||
}
|
||||
|
||||
return response()->json(array(
|
||||
|
||||
Reference in New Issue
Block a user