Fix reachout email

This commit is contained in:
Leonard Biano
2025-02-25 20:47:48 +08:00
parent 059a50eeec
commit 86ac545ef9

View File

@@ -1424,6 +1424,8 @@ class StudioPlusVideoController extends Controller
]);
$product = (new AmazonProductService)->getProductDetails($video->asin);
$job_request->product()->create([
'asin' => $video->asin,
@@ -1464,9 +1466,9 @@ class StudioPlusVideoController extends Controller
'urls'
]);
DB::commit();
$this->sendReachoutAccountMail(auth()->user()->email,$user->email,$password);
$this->sendReachoutAccountMail($video->channel->user->email,$user->email,$password);
DB::commit();
return response()->json([
'message' => 'Reachout account successfully created and emailed to the client',