Always email check data results

This commit is contained in:
Hillel Coren 2017-01-10 11:51:21 +02:00
parent 91e3f5d7b9
commit 7a0985dd6b

View File

@ -76,7 +76,7 @@ class CheckData extends Command {
$this->info($this->log);
if ( ! $this->isValid && $errorEmail) {
if ($errorEmail) {
Mail::raw($this->log, function ($message) use ($errorEmail) {
$message->to($errorEmail)
->from(CONTACT_EMAIL)