Updates for check data

This commit is contained in:
David Bomba 2023-01-23 18:13:33 +11:00
parent 17f71c7c98
commit 86824138c9

View File

@ -455,6 +455,7 @@ class CheckData extends Command
if($contact && $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->count() != 0) {
$i = $entity->invitations()->withTrashed()->where($contact_id, $contact->id)->first();
$i->restore();
$this->logMessage("Found a valid contact and invitation restoring for {$entity_key} - {$entity->id}");
}
else {
$invitation = new $entity_obj();