0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -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

318 B

@logto/phrases @logto/core
patch 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.