Email template work

This commit is contained in:
Deon George
2020-01-21 20:59:10 +11:00
parent 1767f5ac41
commit e62603a1b3
18 changed files with 799 additions and 792 deletions

View File

@@ -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,
]);
}
}