1
0
Fork 0

fixed collection create bug

This commit is contained in:
hkernbach 2016-10-13 14:24:44 +02:00
parent 698fa4daeb
commit 4f4725b25c
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@
data.type = parseInt(object.collType, 10);
if (object.shards) {
data.numberOfShards = object.shards;
data.shardKeys = object.keys;
data.shardKeys = object.shardBy;
}
if (object.replicationFactor) {
data.replicationFactor = JSON.parse(object.replicationFactor);