Commits

Sergio Cinos committed a6e1905

Fix example in README

Comments (0)

Files changed (1)

 
 ### Use API Search to find the real name of the best superhero ever
 
-    var searchCollection = new client.collections.Search("Batman","character");
+    var searchCollection = new client.Search("Batman","character");
 
     //Now searchCollection is a regular paginated collection. You can set pageSize, use .fetch(), .fetchNextPage()...
     searchCollection.fetchAll({