Fix Care integration not enabled after provision.
Deploy Ladill Queue / deploy (push) Successful in 58s
Deploy Ladill Queue / deploy (push) Successful in 58s
Queue orgs were created with care_enabled false, blocking counters API; provision now syncs the caller integration flag automatically. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -96,6 +96,10 @@ class IntegrationController extends Controller
|
||||
AuditLogger::record($owner, 'organization.created', $organization->id, $owner, Organization::class, $organization->id);
|
||||
}
|
||||
|
||||
if (in_array($caller, ['care', 'frontdesk'], true)) {
|
||||
$this->syncIntegrationFlag($organization->fresh(), $caller, true);
|
||||
}
|
||||
|
||||
return response()->json([
|
||||
'data' => [
|
||||
'provisioned' => true,
|
||||
|
||||
Reference in New Issue
Block a user