Compare commits
No commits in common. "e057f1409c666af3c71b1eef467f6f530a556975" and "5d0aa45dad82da0777889dae0a0c5e9a514d19a2" have entirely different histories.
e057f1409c
...
5d0aa45dad
@ -738,13 +738,7 @@ export async function getJitsiMeetingInfo(id: string): Promise<JitsiMeetingInfo>
|
|||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function startMeeting(
|
export async function startMeeting(id: string): Promise<Appointment> {
|
||||||
id: string,
|
|
||||||
options?: {
|
|
||||||
metadata?: string;
|
|
||||||
recording_url?: string;
|
|
||||||
}
|
|
||||||
): Promise<Appointment> {
|
|
||||||
const tokens = getStoredTokens();
|
const tokens = getStoredTokens();
|
||||||
if (!tokens.access) {
|
if (!tokens.access) {
|
||||||
throw new Error("Authentication required.");
|
throw new Error("Authentication required.");
|
||||||
@ -756,11 +750,6 @@ export async function startMeeting(
|
|||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
Authorization: `Bearer ${tokens.access}`,
|
Authorization: `Bearer ${tokens.access}`,
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
|
||||||
action: "start",
|
|
||||||
metadata: options?.metadata,
|
|
||||||
recording_url: options?.recording_url,
|
|
||||||
}),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const data = await parseResponse(response);
|
const data = await parseResponse(response);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user