mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
Fixed setFinalSummary
This commit is contained in:
@@ -33,9 +33,9 @@ export const useWebSockets = (transcriptId) => {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "FINAL_SUMMARY":
|
case "FINAL_SUMMARY":
|
||||||
if (message.data.summary) {
|
if (message.data) {
|
||||||
setFinalSummary(message.data.summary.trim());
|
setFinalSummary(message.data);
|
||||||
console.debug("FINAL_SUMMARY event:", message.data.summary);
|
console.debug("FINAL_SUMMARY event:", message.data);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user