Skip to content

Commit 04ad1bb

Browse files
committed
Update find_by_user_id to use an integer
1 parent b6bc91a commit 04ad1bb

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
@@ -42,7 +42,7 @@ The API supports:
4242
user = Intercom::User.find_by_email("[email protected]")
4343
user.custom_data["average_monthly_spend"] = 1234.56
4444
user.save
45-
user = Intercom::User.find_by_user_id("[email protected]")
45+
user = Intercom::User.find_by_user_id("1")
4646
user = Intercom::User.create(:email => "[email protected]", :name => "Bob Smith")
4747
user = Intercom::User.new(params)
4848
user.save

0 commit comments

Comments
 (0)