fix: transcript endpoint (#25136)
This commit is contained in:
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 [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user