From 5c6e8c75f631266ff4c41d4acac663d720e9ff9d Mon Sep 17 00:00:00 2001 From: Oliver Lazoroski Date: Tue, 20 Aug 2024 14:35:05 +0200 Subject: [PATCH] docs: make values more explicit --- .../docs/javascript/02-guides/02-joining-creating-calls.mdx | 2 +- .../docs/reactnative/03-core/02-joining-creating-calls.mdx | 2 +- .../docs/React/02-guides/02-joining-creating-calls.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/docusaurus/docs/javascript/02-guides/02-joining-creating-calls.mdx b/packages/client/docusaurus/docs/javascript/02-guides/02-joining-creating-calls.mdx index ae5b39ceac..07d988b39b 100644 --- a/packages/client/docusaurus/docs/javascript/02-guides/02-joining-creating-calls.mdx +++ b/packages/client/docusaurus/docs/javascript/02-guides/02-joining-creating-calls.mdx @@ -213,7 +213,7 @@ Here's an example of how to do that: ```typescript await call.getOrCreate({ data: { - starts_at: new Date(Date.now() + 5000), // 500 seconds from now + starts_at: new Date(Date.now() + 500 * 1000), // 500 seconds from now settings_override: { backstage: { join_ahead_time_seconds: 300, diff --git a/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/02-joining-creating-calls.mdx b/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/02-joining-creating-calls.mdx index 1b1ac0c0bd..6e9154e533 100644 --- a/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/02-joining-creating-calls.mdx +++ b/packages/react-native-sdk/docusaurus/docs/reactnative/03-core/02-joining-creating-calls.mdx @@ -193,7 +193,7 @@ Here's an example of how to do that: ```typescript await call.getOrCreate({ data: { - starts_at: new Date(Date.now() + 5000), // 500 seconds from now + starts_at: new Date(Date.now() + 500 * 1000), // 500 seconds from now settings_override: { backstage: { join_ahead_time_seconds: 300, diff --git a/packages/react-sdk/docusaurus/docs/React/02-guides/02-joining-creating-calls.mdx b/packages/react-sdk/docusaurus/docs/React/02-guides/02-joining-creating-calls.mdx index 59564487c8..88396dce32 100644 --- a/packages/react-sdk/docusaurus/docs/React/02-guides/02-joining-creating-calls.mdx +++ b/packages/react-sdk/docusaurus/docs/React/02-guides/02-joining-creating-calls.mdx @@ -213,7 +213,7 @@ Here's an example of how to do that: ```typescript await call.getOrCreate({ data: { - starts_at: new Date(Date.now() + 5000), // 500 seconds from now + starts_at: new Date(Date.now() + 500 * 1000), // 500 seconds from now settings_override: { backstage: { join_ahead_time_seconds: 300,