Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
await consumer.update({
phone_id: consumer.phones?.[0]?.id,
email_id: consumer.emails?.[0]?.id,
full_name_id: consumer.names?.[0]?.id,
g_address_id: consumer.addresses?.[0]?.id,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment