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
wangsijie 3486b12e86
fix(core): fix upload file guard (#5810)
fix: remove the plus sign in front of the phone number (#5801)

Co-authored-by: Kamto <kam_to@outlook.com>
2024-04-30 03:40:05 +00:00

10 lines
318 B
Markdown

---
"@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.