fix: harden booking and meeting flows
This commit is contained in:
@@ -171,9 +171,9 @@ export function CallRoom({ slug }: { slug: string }) {
|
||||
localTracksRef.current = previewTracks;
|
||||
|
||||
try {
|
||||
let serverUrl = session.serverUrl;
|
||||
let participantToken = session.participantToken;
|
||||
if (!serverUrl || !participantToken) {
|
||||
let serverUrl: string;
|
||||
let participantToken: string;
|
||||
{
|
||||
const response = await fetch(`/api/meetings/${encodeURIComponent(slug)}/connect`, {
|
||||
method: "POST",
|
||||
headers: { Authorization: `Bearer ${session.token}` },
|
||||
|
||||
Reference in New Issue
Block a user