e2b14ecf1099f4bae17c36d2ec37d4fe0feeae0b
If there is no file to be uploaded, then we must not send the value of the `photo` file input. Doing so causes two files to be uploaded, the first one being a zero-byte file with no name, and the second one being the one we captured from the camera. The server only uses the first uploaded file if there are multiple, so the correct file is never used.
Description
No description provided
Languages
Rust
55.4%
TypeScript
35.5%
JavaScript
2.7%
CSS
2.7%
Dockerfile
2.2%
Other
1.5%