Add check-data result in email subject

This commit is contained in:
Hillel Coren 2017-02-20 10:51:18 +02:00
parent c51a97cb85
commit f04a89ebc2

View File

@ -81,7 +81,7 @@ class CheckData extends Command
Mail::raw($this->log, function ($message) use ($errorEmail) {
$message->to($errorEmail)
->from(CONTACT_EMAIL)
->subject('Check-Data');
->subject('Check-Data: ' . strtoupper($this->isValid ? RESULT_SUCCESS : RESULT_FAILURE));
});
}
}