0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
logto/.changeset/smart-melons-shop.md

11 lines
318 B
Markdown
Raw Permalink Normal View History

---
"@logto/phrases": patch
"@logto/core": patch
---
Fix file upload API.
The `koa-body` has been upgraded to the latest version, which caused the file upload API to break. This change fixes the issue.
The `ctx.request.files.file` in the new version is an array, so the code has been updated to pick the first one.