From 64ac8299e4cc0357695a34395705a77fc86ea432 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 3 May 2021 13:57:33 +1000 Subject: [PATCH] minor fixes --- app/Traits/GenerateMigrationResources.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index ee13478bd6..fbd98d267c 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -880,7 +880,7 @@ info("get company"); 'key' => $invitation->invitation_key, 'transaction_reference' => $invitation->transaction_reference, 'message_id' => $invitation->message_id, - 'email_error' => $invitation->email_error, + 'email_error' => $invitation->email_error ?: '', 'signature_base64' => $invitation->signature_base64, 'signature_date' => $invitation->signature_date, 'sent_date' => $invitation->sent_date, @@ -890,7 +890,6 @@ info("get company"); 'updated_at' => $invitation->updated_at ? Carbon::parse($invitation->updated_at)->toDateString() : null, 'deleted_at' => $invitation->deleted_at ? Carbon::parse($invitation->deleted_at)->toDateString() : null, 'email_status' => '', - 'email_error' => '', ]; }