0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
logto/.changeset/smart-melons-shop.md

11 lines
318 B
Markdown
Raw 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.