Commit a37ed749 authored by Thomas Persohn's avatar Thomas Persohn
Browse files

Fix subtitle upload parameter

parent e5b51af2
......@@ -39,7 +39,7 @@ class AddSubtitle extends FileCommand
]);
$this->requestOptions[CURLOPT_POSTFIELDS] = [
'subtitle' => $path,
'subtitle' => curl_file_create($path),
'language' => $language,
];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment