From 7a2d02dcda85d8a06b36f4c35ab9cff008296899 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Tue, 29 Nov 2022 03:44:02 +0200 Subject: [PATCH] Update server --- public/bundle.js | 2 +- public/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 82efd94..f7b901a 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20539,7 +20539,7 @@ const getLocalStream = () => { // If it is the first time client enter and give permission permissionStatus.onchange = function() { console.log('🟨 [PERMISSION] onchange', this.state); - if (this.state === 'grated') { + if (this.state === 'granted') { doIHaveAudio = true; } } diff --git a/public/index.js b/public/index.js index f345b9c..03f3f82 100644 --- a/public/index.js +++ b/public/index.js @@ -181,7 +181,7 @@ const getLocalStream = () => { // If it is the first time client enter and give permission permissionStatus.onchange = function() { console.log('🟨 [PERMISSION] onchange', this.state); - if (this.state === 'grated') { + if (this.state === 'granted') { doIHaveAudio = true; } }