message: Update src/models/rest.ts
diff: @@ -319,7 +319,7 @@ export class RESTManager {
  }
  }
  const form = new FormData()
  - files.map((file, index) => form.append(`file${index + 1}`, file.blob, file.name))
  + files.forEach((file, index) => form.append(`file${index + 1}`, file.blob, file.name))
  const json = JSON.stringify(body)
  form.append('payload_json', json)
  if (body === undefined) body = {}
  