Skip to content

Commit 6584261

Browse files
committed
correct output format
1 parent c0b7bda commit 6584261

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

server/services/exportMetadata.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function export($export_format, $metadata_json) {
4646
// header('Access-Control-Allow-Origin: ' . $origin);
4747
// }
4848

49-
echo $result["result"]["export"];
49+
$result = json_decode($result["result"], true);
50+
echo $result["export"];
5051

5152
?>

0 commit comments

Comments
 (0)