update crisp to production

This commit is contained in:
omair saleh
2022-04-13 00:25:49 +08:00
parent f71f1fecd4
commit 129f3ecf10
@@ -72,7 +72,7 @@ class GeneratesAuthenticationToken {
'company_module_id' => $companyModule->id,
'company_module_type' => $companyModule->type,
'company_name' => $companyModule->name,
'company_marking' => $companyModule->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference,
'company_marking' => $companyModule->type !== 8 ? $companyModule->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference : 'HWT',
]);
}