You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just realised that event.context.logtoUser isn't really documented anywhere, even though the SDK uses an event handler to modify the event object, so that logtoUser and logtoClient are available in the server routes event context.
Describe the bug
Types for
event.context.logtoUser
are not fully available in Nuxt server; thus, type checking doesn't work properly.Expected behavior
N/A
How to reproduce?
N/A
Context
N/A
Fix
This can be fixed by extending the
H3EventContext
:Sorry if this issue is a bit lacking. :)
The text was updated successfully, but these errors were encountered: