Skip to content

Commit

Permalink
feat: fix audio for ai
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Aug 9, 2024
1 parent f55384a commit 483a30a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const App = () => {
const handleAiSummaryAudio = useCallback(
(data: AiSummaryAudioResponse) => {
if (data.ref_id) {
setAiSummaryAnswer(data.ref_id, { audio_en: data.audio_en })
setAiSummaryAnswer(data.ref_id, { audio_en: data.audio_EN })
}
},
[setAiSummaryAnswer],
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,5 @@ export interface ExtractedEntitiesResponse {

export type AiSummaryAudioResponse = {
ref_id: string
audio_en: string
audio_EN: string
}

0 comments on commit 483a30a

Please sign in to comment.