Dump raw input
This commit is contained in:
parent
ba3a862dad
commit
5d731b0693
|
@ -88,6 +88,11 @@ function export_result($cfg) {
|
|||
return ["success" => false];
|
||||
}
|
||||
$sha256 = create_text_file($cfg, $body);
|
||||
if ( strlen($cfg["export"]["rawpath"])>0) {
|
||||
file_put_contents(
|
||||
$cfg["export"]["rawpath"] . "/" . $body->event_token . "" . $body->vote_round .".json",
|
||||
json_encode($body));
|
||||
}
|
||||
return ["success" => true, "sha256" => $sha256, "signing_key" => $cfg["export"]["pgpkey"]];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue