Users router
An overview of the Users router
Procedures#
The users router has the following procedures:
Update the user profile#
Updates the user's profile. The user can update their name, email, and avatar.
// Client componentsconst { data } = api.users.updateProfile.useMutation()// Server componentsconst data = await api.users.updateProfile()
Was this helpful?