More complete bug fix for the API POST issue.

This commit is contained in:
Scott Idem
2025-05-19 17:16:30 -04:00
parent f2059da9d1
commit 9af5c960f7
3 changed files with 7 additions and 5 deletions

View File

@@ -197,13 +197,14 @@ async function handle_input_upload_files(input_upload_files, form_kv, task_id) {
ae_promises.upload__hosted_file_obj = api.post_object({
api_cfg: $ae_api,
endpoint: endpoint,
params: params,
// params: params,
form_data: form_data,
return_blob: true,
filename: 'clipped_video_test.mp4',
auto_download: false,
task_id: task_id,
log_lvl: log_lvl
log_lvl: log_lvl,
// retry_count: 1,
})
.then(async function (result) {
console.log(result);

View File

@@ -147,10 +147,11 @@ async function handle_input_upload_files(
ae_promises.upload__hosted_file_obj = api.post_object({
api_cfg: $ae_api,
endpoint: endpoint,
params: params,
// params: params,
form_data: form_data,
task_id: task_id,
log_lvl: log_lvl
log_lvl: log_lvl,
// retry_count: 1,
})
.then(async function (result) {
// WARNING!!!! ONLY ONE FILE IS EXPECTED TO BE UPLOADED AT A TIME!!!

View File

@@ -143,7 +143,7 @@ async function handle_input_upload_files(input_upload_files, task_id) {
form_data: form_data,
task_id: task_id,
log_lvl: log_lvl,
retry_count: 1,
// retry_count: 1,
})
.then(async function (result) {
// console.log('HERE!!', result);