Skip to content

Commit e804603

Browse files
authored
Update documentation for upgrading lead to be a user
1 parent 8668515 commit e804603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ intercom.contacts.save(contact)
370370
contacts = intercom.contacts.find_all(email: "[email protected]")
371371

372372
# Convert a contact into a user
373-
intercom.contacts.convert(contact, user)
373+
intercom.contacts.convert(contact, Intercom::User.new(email: email))
374374

375375
# Delete a contact
376376
intercom.contacts.delete(contact)

0 commit comments

Comments
 (0)