Fix to Octoprint upload. #2465
This commit is contained in:
parent
9d5f55af77
commit
4b7cec28b9
@ -1115,7 +1115,7 @@ sub send_gcode {
|
|||||||
Content_Type => 'form-data',
|
Content_Type => 'form-data',
|
||||||
'X-Api-Key' => $self->{config}->octoprint_apikey,
|
'X-Api-Key' => $self->{config}->octoprint_apikey,
|
||||||
Content => [
|
Content => [
|
||||||
fn => [$self->{send_gcode_file}],
|
file => [$self->{send_gcode_file}],
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user