Closed Elmzelji closed 1 year ago
Hi So i'm generating a meeting room on the backend, When trying to validate the room id i get room not found.
export const validateMeeting = async ({ roomId, token }) => { const url = `${API_BASE_URL}/v2/rooms/validate/${roomId}`; const options = { method: "GET", headers: { Authorization: token, "Content-Type": "application/json" }, }; const result = await fetch(url, options) .then((response) => { if(response.ok) response.json() }) //result will have meeting id .catch((error) => console.error("error", error)); return result ? result.roomId === roomId : false; };
Reached out via discord
Hi So i'm generating a meeting room on the backend, When trying to validate the room id i get room not found.