From 56d3c4fffb9e546ec0666337daede1b12fda9406 Mon Sep 17 00:00:00 2001 From: rahulpandey70 Date: Sat, 30 Sep 2023 09:57:48 +0530 Subject: [PATCH] fix(env and index): fixes typo RECIPEINT to RECIPIENT fix #733 --- packages/examples/sdk-backend-node/.env.sample | 4 ++-- packages/examples/sdk-backend-node/video/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/examples/sdk-backend-node/.env.sample b/packages/examples/sdk-backend-node/.env.sample index 550450212..a444eee26 100644 --- a/packages/examples/sdk-backend-node/.env.sample +++ b/packages/examples/sdk-backend-node/.env.sample @@ -43,8 +43,8 @@ VIDEO_CHAIN_ID=your_video_chain_id # VIDEO SENDER ADDRESS VIDEO_SENDER_ADDRESS=your_video_sender_address -# VIDEO RECIPEINT ADDRESS -VIDEO_RECIPEINT_ADDRESS=your_video_recipeint_address +# VIDEO RECIPIENT ADDRESS +VIDEO_RECIPIENT_ADDRESS=your_video_recipient_address # VIDEO CHAT ID VIDEO_CHAT_ID=your_video_chat_id \ No newline at end of file diff --git a/packages/examples/sdk-backend-node/video/index.ts b/packages/examples/sdk-backend-node/video/index.ts index 209522514..e9202c387 100644 --- a/packages/examples/sdk-backend-node/video/index.ts +++ b/packages/examples/sdk-backend-node/video/index.ts @@ -21,14 +21,14 @@ const videoSetData: ( let videoObject: any = null; const videoLocalStream = null; // get the local stream const videoSenderAddress = process.env.VIDEO_SENDER_ADDRESS; -const videoRecipientAddress = process.env.VIDEO_RECIPEINT_ADDRESS; +const videoRecipientAddress = process.env.VIDEO_RECIPIENT_ADDRESS; const videoChatId = process.env.VIDEO_CHAT_ID; let videoSignalData_1: any = null; const skipExample = () => { const requiredEnvVars = [ 'VIDEO_SENDER_ADDRESS', - 'VIDEO_RECIPEINT_ADDRESS', + 'VIDEO_RECIPIENT_ADDRESS', 'VIDEO_CHAT_ID', 'VIDEO_CHAIN_ID', ];