|
|
@@ -6,10 +6,7 @@ $uploadProps = [
|
|
|
"headers" => [
|
|
|
"Authorization" => "Bearer {{API_TOKEN}}"
|
|
|
],
|
|
|
- "onSuccess" => '\$FNX:const res = \$inject.args[0];
|
|
|
-const file = \$inject.args[1];
|
|
|
-
|
|
|
-file.url = res.data.file_url;',
|
|
|
+ "onSuccess" => "\$FNX:const res = \$inject.args[0];\nconst file = \$inject.args[1];\n\nfile.url = res.data.file_url;",
|
|
|
"multiple" => false
|
|
|
];
|
|
|
|