Fix to Octoprint upload. #2465
This commit is contained in:
parent
9d5f55af77
commit
4b7cec28b9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue