update

Updates user data, if there is a logged in user.

const { user, error } = await auth.update({
data: { hello: 'world' }
})

Parameters

  • attributesrequiredUserAttributes

    No description provided.

Examples

Update a user's metadata.

const { user, error } = await auth.update({
data: { hello: 'world' }
})