Skip to content

Commit

Permalink
Patch for preview data (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttannis authored and Hans Adriaans committed Jun 30, 2022
1 parent 237f95c commit a83b4ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ export function metadataGetPreviewData(action: GetPreviewDataRequest) {
return { data: response.data.previewData, status: response.status };
})
.catch((error) => {
return { data: error.response.data.previewData, status: error.response.status };
return { data: {}, status: error.response.status };
});
}

0 comments on commit a83b4ed

Please sign in to comment.