diff --git a/packages/runtime-handler/src/dev-runtime/internal/runtime.ts b/packages/runtime-handler/src/dev-runtime/internal/runtime.ts index 6ebc7ffc..54546173 100644 --- a/packages/runtime-handler/src/dev-runtime/internal/runtime.ts +++ b/packages/runtime-handler/src/dev-runtime/internal/runtime.ts @@ -82,7 +82,7 @@ export function create({ env.AUTH_TOKEN, options ); - const service = client.sync.services( + const service = client.sync.v1.services( serviceName || 'default' ) as RuntimeSyncServiceContext; diff --git a/packages/twilio-run/src/runtime/internal/runtime.ts b/packages/twilio-run/src/runtime/internal/runtime.ts index 6571c8da..62a02ea4 100644 --- a/packages/twilio-run/src/runtime/internal/runtime.ts +++ b/packages/twilio-run/src/runtime/internal/runtime.ts @@ -72,7 +72,7 @@ export function create({ env }: StartCliConfig): RuntimeInstance { .join(',')})`, }); const client = twilio(env.ACCOUNT_SID, env.AUTH_TOKEN, options); - const service = (client.sync.services( + const service = (client.sync.v1.services( serviceName || 'default' ) as unknown) as RuntimeSyncServiceContext;