Skip to content

Commit

Permalink
service update
Browse files Browse the repository at this point in the history
  • Loading branch information
hangaretto committed Mar 16, 2018
1 parent abd2d93 commit e20b998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Services/LogServices.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static function send($code, $data) {
if(!isset($data['email']))
continue;
$email_data['to'] = $data['email'];
$email_data['subject'] = 'Email log.';
$email_data['subject'] = config('magnetar.log.email_subject');
$email_data['html'] = '<p>'.$template.'</p>';

dispatch(new MailingJob('email', $email_data));
Expand All @@ -71,7 +71,7 @@ public static function send($code, $data) {
default:
if(substr_count($item, '@') > 0) {
$email_data['to'] = $item;
$email_data['subject'] = 'Email log.';
$email_data['subject'] = config('magnetar.log.email_subject');
$email_data['html'] = '<p>'.$template.'</p>';

dispatch(new MailingJob('email', $email_data));
Expand Down

0 comments on commit e20b998

Please sign in to comment.