79650618

Date: 2025-06-03 04:30:24
Score: 1.5
Natty:
Report link

You can't manually set only three properties for the FormData variable.

  const asset = result.assets[0].file;
  const form = new FormData();
  form.append("newimage", asset as any);

Using the whole file fixes the issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: GilM