Skip to content

Commit 52e9737

Browse files
committed
updated readme documentation
1 parent ea2ceef commit 52e9737

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var myDoc = {
5151
};
5252

5353
kuzzle
54-
.dataCollectionFactory('people')
54+
.dataCollectionFactory('music', 'people')
5555
.createDocument(myDoc, function(error, response) {
5656
if (error) {
5757
// handle error...
@@ -63,7 +63,7 @@ kuzzle
6363

6464
// In NodeJS version, you can also use Promise by suffixing functions with "Promise"
6565
kuzzle
66-
.dataCollectionFactory('people')
66+
.dataCollectionFactory('music', 'people')
6767
.createDocumentPromise(myDoc)
6868
.then(response => {
6969
/*
@@ -104,7 +104,7 @@ var myDoc = {
104104
};
105105

106106
kuzzle
107-
.dataCollectionFactory('people')
107+
.dataCollectionFactory('music', 'people')
108108
.createDocument(myDoc, function(error, response) {
109109
if (error) {
110110
// handle error...

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-sdk",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Official Javascript SDK for Kuzzle",
55
"author": "The Kuzzle Team <[email protected]>",
66
"repository": {

0 commit comments

Comments
 (0)