@@ -304,7 +304,7 @@ sub api_v1_POST_documents_id_data { | |||
my $file = $conf->{path}{global} . '/' . $conf->{path}{originals} . '/' . $pageid; | |||
open(F,'>'.$file); | |||
print F $post->{body}; | |||
print F $post->{data}; | |||
close(F); | |||
return (200, "application/json", { }) |