logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.94k stars 446 forks source link

refactor(core): split profile route #6802

Closed wangsijie closed 1 week ago

wangsijie commented 1 week ago

Summary

Split the file of profile route, to avoid exeeding 300 lines.

Testing

Existing tests should pass.

Checklist

github-actions[bot] commented 1 week ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +789 Bytes

Diff by File |Name|Diff| |---|---| |packages/core/src/routes/profile/identities.ts|:chart_with_upwards_trend: +3.53 KB| |packages/core/src/routes/profile/index.ts|:chart_with_upwards_trend: +2.76 KB|