From 9ddee63a10665f09ce6674dbca3a9626a877e954 Mon Sep 17 00:00:00 2001 From: Mostafa Gaafar Date: Tue, 8 Aug 2017 21:32:31 +0400 Subject: [PATCH] docs: fix example hyphen case (#135) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index be1857d..0543853 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,7 @@ var { Answers } = Fabric; // All log functions take an optional object of custom attributes as the last parameter Answers.logCustom('Performed a custom event', { bigData: true }); -Answers.logContentView('To-Do Edit', 'To-Do', 'to-do-42', { user-id: 93 }); +Answers.logContentView('To-Do Edit', 'To-Do', 'to-do-42', { userId: 93 }); Answers.logAddToCart(24.50, 'USD', 'Air Jordans', 'shoes', '987654', {color: 'red'});