6b1b44502ae35a28379fbe1ecd788253904db780
node-appwrite's storage.createFile happily takes the Web File API today, but Next.js's multipart parser had already consumed the request body by the time the SDK tries to stream it again — the SDK's second pass dies with 'Unexpected end of form'. isletmem-kovakcrm's logo-actions uses the documented pattern: arrayBuffer → Buffer → InputFile.fromBuffer(buf, name). Adopting the same approach in uploadJobFilesAction. The middlewareClientMaxBodySize bump from the previous commit still matters (lifts the 10MB cap so the body even reaches us), but on its own it wasn't enough: the Web File handoff itself was broken. InputFile is exported from 'node-appwrite/file' (separate entry point — the helper isn't on the main package export).
Description
No description provided
Languages
TypeScript
99.2%
CSS
0.7%