Replies: 1 comment
-
I've been using like this: user: async (ctx) => {
if (!ctx?.auth?.user) {
return null
}
return ctx.auth.user.toJSON()
}, Maybe you could try it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
adonis v6, can someone help ?
this is the problem:
Beta Was this translation helpful? Give feedback.
All reactions