Fix to Octoprint upload. #2465

This commit is contained in:
Alessandro Ranellucci 2014-12-29 20:34:33 +01:00
parent 9d5f55af77
commit 4b7cec28b9

View File

@ -1115,7 +1115,7 @@ sub send_gcode {
Content_Type => 'form-data',
'X-Api-Key' => $self->{config}->octoprint_apikey,
Content => [
fn => [$self->{send_gcode_file}],
file => [$self->{send_gcode_file}],
],
);