File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ var myDoc = {
51
51
};
52
52
53
53
kuzzle
54
- .dataCollectionFactory (' people' )
54
+ .dataCollectionFactory (' music ' , ' people' )
55
55
.createDocument (myDoc, function (error , response ) {
56
56
if (error) {
57
57
// handle error...
63
63
64
64
// In NodeJS version, you can also use Promise by suffixing functions with "Promise"
65
65
kuzzle
66
- .dataCollectionFactory (' people' )
66
+ .dataCollectionFactory (' music ' , ' people' )
67
67
.createDocumentPromise (myDoc)
68
68
.then (response => {
69
69
/*
@@ -104,7 +104,7 @@ var myDoc = {
104
104
};
105
105
106
106
kuzzle
107
- .dataCollectionFactory (' people' )
107
+ .dataCollectionFactory (' music ' , ' people' )
108
108
.createDocument (myDoc, function (error , response ) {
109
109
if (error) {
110
110
// handle error...
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " kuzzle-sdk" ,
3
- "version" : " 1.3.0 " ,
3
+ "version" : " 1.3.1 " ,
4
4
"description" : " Official Javascript SDK for Kuzzle" ,
5
5
"author" :
" The Kuzzle Team <[email protected] >" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments