Skip to content

Commit

Permalink
[Fix] Document is not displaying in the output analyzer prompt studio (
Browse files Browse the repository at this point in the history
…#1073)

fixed file error
  • Loading branch information
jagadeeswaran-zipstack authored Jan 17, 2025
1 parent 60eb3e8 commit 6c22fc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6c22fc3

Please sign in to comment.