Fix Care integration not enabled after provision.
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:
isaacclad
2026-07-05 22:06:02 +00:00
co-authored by Cursor
parent 1abc99fa1f
commit ebfc9693c7
2 changed files with 56 additions and 0 deletions
@@ -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,