Email template work
This commit is contained in:
@@ -25,7 +25,7 @@ class SocialLink extends Mailable
|
||||
public function __construct(AccountOauth $o)
|
||||
{
|
||||
$this->token = $o->link_token;
|
||||
$this->user = $o;
|
||||
$this->user = $o->account->user;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -38,6 +38,8 @@ class SocialLink extends Mailable
|
||||
return $this
|
||||
->markdown('email.system.social_link')
|
||||
->subject('Link your Account')
|
||||
->with(['site'=>$this->user->site]);
|
||||
->with([
|
||||
'site'=>$this->user->site,
|
||||
]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user