fix: transcript endpoint (#25136)

This commit is contained in:
Udit Takkar authored and GitHub committed 2025-11-18 21:00:38 +02:00
1 parent 0ab1bd0b6c
commit 03ebabd6b4
3 files changed
+29 -31

No files matched your search

@@ -443,9 +443,7 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => {
},
getAllTranscriptsAccessLinkFromRoomName: async (roomName: string): Promise<Array<string>> => {
try {
const res = await fetcher(`/rooms/${roomName}`).then(getRooms.parse);
const roomId = res.id;
const allTranscripts = await fetcher(`/transcript?roomId=${roomId}`).then(getTranscripts.parse);
const allTranscripts = await fetcher(`/transcript?room_name=${roomName}`).then(getTranscripts.parse);
if (!allTranscripts.data.length) return [];