Commit b9da1cd
refactor: simplify FormData type checking and fix string handling
- Remove redundant File instanceof check (File extends Blob)
- Add explicit string type check to prevent double-stringification
- Strings now passed directly to FormData instead of JSON.stringify
Thanks to @lc-soft for the code review and suggestions!
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent e4c4bae commit b9da1cd
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| |||
0 commit comments