logto-io / js

🤓 Logto JS SDKs.
https://docs.logto.io/quick-starts/
MIT License
61 stars 40 forks source link

refactor(nuxt): use `trySafe` for all `context.logtoUser` methods #744

Closed gao-sun closed 3 months ago

gao-sun commented 3 months ago

Summary

use trySafe for all context.logtoUser methods to align the behavior on user fetching

Testing

n/a (unit tests should be added later)

Checklist