Auto-provision Meet workspaces for Care video visit scheduling.
Deploy Ladill Meet / deploy (push) Successful in 1m34s

Care appointments can create Meet rooms for accounts that have never opened Meet, matching the Sales Centre provisioning path.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-12 14:14:19 +00:00
co-authored by Cursor
parent da8d64045b
commit 2a29c89f74
2 changed files with 8 additions and 6 deletions
@@ -33,7 +33,7 @@ class ServiceRoomController extends Controller
{
$validated = $this->validateRoomPayload($request);
if (($validated['source']['app'] ?? '') === 'sales_centre') {
if (in_array(($validated['source']['app'] ?? ''), ['sales_centre', 'care'], true)) {
$this->salesCentreWorkspace->ensureHost($validated);
}
@@ -181,7 +181,7 @@ class ServiceRoomController extends Controller
return Organization::findOrFail($validated['organization_id']);
}
if (($validated['source']['app'] ?? '') === 'sales_centre') {
if (in_array(($validated['source']['app'] ?? ''), ['sales_centre', 'care'], true)) {
$host = User::where('public_id', $validated['host_user_ref'])->firstOrFail();
return $this->salesCentreWorkspace->ensureOrganization($host);