From 40e0a7a55741620b62c97aa3ee69918fc47c16a9 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 23 Sep 2023 09:13:28 +0200 Subject: [PATCH] [mirotalk] - update dep, fix typo --- app/api/meeting/meeting.js | 4 ++-- app/api/meeting/meeting.php | 4 ++-- app/api/meeting/meeting.py | 6 +++--- app/api/meeting/meeting.sh | 4 ++-- package.json | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/api/meeting/meeting.js b/app/api/meeting/meeting.js index ad17caaf..6d40b8d9 100644 --- a/app/api/meeting/meeting.js +++ b/app/api/meeting/meeting.js @@ -5,7 +5,7 @@ async function getMeeting() { // Use dynamic import with await const { default: fetch } = await import('node-fetch'); - const API_KEY = 'mirotalk_default_secret1'; + const API_KEY_SECRET = 'mirotalk_default_secret'; // const MIROTALK_URL = "http://localhost:3000/api/v1/meeting"; const MIROTALK_URL = 'https://p2p.mirotalk.com/api/v1/meeting'; // const MIROTALK_URL = "https://mirotalk.up.railway.app/api/v1/meeting"; @@ -13,7 +13,7 @@ async function getMeeting() { const response = await fetch(MIROTALK_URL, { method: 'POST', headers: { - authorization: API_KEY, + authorization: API_KEY_SECRET, 'Content-Type': 'application/json', }, }); diff --git a/app/api/meeting/meeting.php b/app/api/meeting/meeting.php index 2655653c..b5cc7326 100644 --- a/app/api/meeting/meeting.php +++ b/app/api/meeting/meeting.php @@ -1,6 +1,6 @@