From 6c22fc3591b22c49ef9c63246c3ab472927903b9 Mon Sep 17 00:00:00 2001 From: jagadeeswaran-zipstack Date: Fri, 17 Jan 2025 13:42:51 +0530 Subject: [PATCH] [Fix] Document is not displaying in the output analyzer prompt studio (#1073) fixed file error --- .../custom-tools/output-analyzer/OutputAnalyzerCard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx b/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx index 20769fd1b..7edbcdaed 100644 --- a/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx +++ b/frontend/src/components/custom-tools/output-analyzer/OutputAnalyzerCard.jsx @@ -55,7 +55,7 @@ function OutputAnalyzerCard({ doc, selectedPrompts, totalFields }) { setIsDocLoading(true); try { const res = await axiosPrivate.get(fileUrlEndpoint); - const base64String = res?.data?.data || ""; + const base64String = res?.data?.data?.data || ""; const blob = base64toBlob(base64String); setFileUrl(URL.createObjectURL(blob)); } catch (err) {