mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 23:20:43 +00:00
chore: remove unused $server property and add missing import
- Remove unused $server property and Server import from Advanced.php - Add proper import for UpdateStripeCustomerEmailJob in User.php 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Jobs\UpdateStripeCustomerEmailJob;
|
||||
use App\Notifications\Channels\SendsEmail;
|
||||
use App\Notifications\TransactionalEmails\ResetPassword as TransactionalEmailsResetPassword;
|
||||
use App\Traits\DeletesUserSessions;
|
||||
@@ -437,7 +438,7 @@ class User extends Authenticatable implements SendsEmail
|
||||
// For cloud users, dispatch job to update Stripe customer email asynchronously
|
||||
$currentTeam = $this->currentTeam();
|
||||
if (isCloud() && $currentTeam?->subscription) {
|
||||
dispatch(new \App\Jobs\UpdateStripeCustomerEmailJob(
|
||||
dispatch(new UpdateStripeCustomerEmailJob(
|
||||
$currentTeam,
|
||||
$this->id,
|
||||
$newEmail,
|
||||
|
||||
Reference in New Issue
Block a user